Mercurial > pidgin.yaz
comparison 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 |
comparison
equal
deleted
inserted
replaced
13414:d624a097dc98 | 13415:3038ab2eff72 |
---|---|
102 | 102 |
103 firstname = gtk_entry_get_text(GTK_ENTRY(dialog->firstname)); | 103 firstname = gtk_entry_get_text(GTK_ENTRY(dialog->firstname)); |
104 lastname = gtk_entry_get_text(GTK_ENTRY(dialog->lastname)); | 104 lastname = gtk_entry_get_text(GTK_ENTRY(dialog->lastname)); |
105 email = gtk_entry_get_text(GTK_ENTRY(dialog->email)); | 105 email = gtk_entry_get_text(GTK_ENTRY(dialog->email)); |
106 | 106 |
107 if (*firstname || *lastname) | 107 if (firstname != NULL || lastname != NULL) |
108 { | 108 { |
109 if (dialog->contact == NULL) | 109 if (dialog->contact == NULL) |
110 { | 110 { |
111 char *file_as; | 111 char *file_as; |
112 | 112 |