changeset 12951:9eaf101af7a7

[gaim-migrate @ 15304] If you have an existing Saved Status with a message, you can't currently re-save it without a message. This fixes that. committer: Tailor Script <tailor@pidgin.im>
author Etan Reisner <pidgin@unreliablesource.net>
date Thu, 19 Jan 2006 18:20:46 +0000
parents 96cf4e176ff8
children 30d6ebea36e2
files src/gtksavedstatuses.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtksavedstatuses.c	Thu Jan 19 18:09:06 2006 +0000
+++ b/src/gtksavedstatuses.c	Thu Jan 19 18:20:46 2006 +0000
@@ -702,7 +702,9 @@
 		gaim_savedstatus_set_type(saved_status, type);
 	}
 
-	if (*unformatted != '\0')
+	if (*unformatted == '\0')
+		gaim_savedstatus_set_message(saved_status, NULL);
+	else
 		gaim_savedstatus_set_message(saved_status, message);
 
 	/* Set any substatuses */