# HG changeset patch # User Richard Laager # Date 1141696200 0 # Node ID 3038ab2eff72ed46dbf706263e26bc5e28f6e6b9 # Parent d624a097dc98bad22ddee61d065bd22266386c19 [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 diff -r d624a097dc98 -r 3038ab2eff72 plugins/gevolution/new_person_dialog.c --- 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) {