Return is not a function

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2011-12-14 20:49:40 -08:00
parent 6245b700a4
commit 0a9e5aa735
6 changed files with 7 additions and 7 deletions

4
info.c
View file

@ -38,8 +38,8 @@ static char *get_text(GtkTextView *view)
* NOTW: NULL and "" need to be treated as "unchanged" */
static int text_changed(const char *old, const char *new)
{
return ((old && strcmp(old,new)) ||
(!old && strcmp("",new)));
return (old && strcmp(old,new)) ||
(!old && strcmp("",new));
}
static char *get_combo_box_entry_text(GtkComboBoxEntry *combo_box, char **textp)