Mercurial > pidgin
diff plugins/gevolution/new_person_dialog.c @ 13415:3038ab2eff72
[gaim-migrate @ 15790]
In the context of the if...else if...else statement below, it looks like the idea is to check the pointers, not the data they're pointing two.
Resolves CID 70
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Tue, 07 Mar 2006 01:50:00 +0000 |
parents | 12db50600de5 |
children | d6530e0cd89f |
line wrap: on
line diff
--- a/plugins/gevolution/new_person_dialog.c Tue Mar 07 01:37:56 2006 +0000 +++ b/plugins/gevolution/new_person_dialog.c Tue Mar 07 01:50:00 2006 +0000 @@ -104,7 +104,7 @@ lastname = gtk_entry_get_text(GTK_ENTRY(dialog->lastname)); email = gtk_entry_get_text(GTK_ENTRY(dialog->email)); - if (*firstname || *lastname) + if (firstname != NULL || lastname != NULL) { if (dialog->contact == NULL) {