Tue, 07 Mar 2006 01:50:00 +0000
[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
| plugins/gevolution/new_person_dialog.c | file | annotate | diff | comparison | revisions |
--- 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) {