Mercurial > pidgin
changeset 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 | d624a097dc98 |
children | 7d1ebac854ba |
files | plugins/gevolution/new_person_dialog.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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) {