Fix warning

This commit is contained in:
TingPing 2014-02-02 19:07:52 -05:00
parent ed5ead6a07
commit 9f01950bcb

View File

@ -944,7 +944,7 @@ static int
servlist_savegui (void) servlist_savegui (void)
{ {
char *sp; char *sp;
char *nick1, *nick2; const char *nick1, *nick2;
/* check for blank username, ircd will not allow this */ /* check for blank username, ircd will not allow this */
if (gtk_entry_get_text (GTK_ENTRY (entry_guser))[0] == 0) if (gtk_entry_get_text (GTK_ENTRY (entry_guser))[0] == 0)