changeset 470:4bf9c74b9e4d

[gaim-migrate @ 480] small fixes committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sun, 09 Jul 2000 05:31:47 +0000
parents 7ac742be351d
children 4d0b703a094c
files src/dialogs.c src/util.c
diffstat 2 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/dialogs.c	Sat Jul 08 09:21:39 2000 +0000
+++ b/src/dialogs.c	Sun Jul 09 05:31:47 2000 +0000
@@ -2740,9 +2740,9 @@
 	}
 
 	/* stick it on the away list */
-	if (strlen(b->name)) {
-		do_away_message(NULL, b);
-        }
+	if (!strlen(b->name))
+		g_snprintf(b->name, sizeof(b->name), "I'm away!");
+	do_away_message(NULL, b);
         
         destroy_dialog(NULL, ca->window);
 }
--- a/src/util.c	Sat Jul 08 09:21:39 2000 +0000
+++ b/src/util.c	Sun Jul 09 05:31:47 2000 +0000
@@ -66,6 +66,8 @@
                 return 1;
 	if (c == '<')
 		return 1;
+	if (c == '>')
+		return 1;
         return 0;