diff finch/gntaccount.c @ 31636:35224e759210

propagate from branch 'im.pidgin.pidgin' (head d5a2e2287440ac7134c201e66921754bd4187ba9) to branch 'im.pidgin.pidgin.openq' (head 98848d977bb3de3cf530c951d157fe8139482675)
author SHiNE CsyFeK <csyfek@gmail.com>
date Tue, 12 Jan 2010 14:22:02 +0000
parents 259bbfb423d4
children cfdd4d3ba550
line wrap: on
line diff
--- a/finch/gntaccount.c	Wed Sep 23 14:48:57 2009 +0000
+++ b/finch/gntaccount.c	Tue Jan 12 14:22:02 2010 +0000
@@ -23,6 +23,8 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02111-1301  USA
  */
+#include <internal.h>
+
 #include <gnt.h>
 #include <gntbox.h>
 #include <gntbutton.h>
@@ -36,7 +38,6 @@
 #include <gntwindow.h>
 
 #include "finch.h"
-#include <internal.h>
 
 #include <account.h>
 #include <accountopt.h>
@@ -166,8 +167,7 @@
 
 	/* Alias */
 	value = gnt_entry_get_text(GNT_ENTRY(dialog->alias));
-	if (value && *value)
-		purple_account_set_alias(account, value);
+	purple_account_set_alias(account, value);
 
 	/* Remember password and password */
 	purple_account_set_remember_password(account,