X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=info.c;h=e53af015eb71d4ab63da397c1489fd3bb84ae024;hb=3d75c73f3677d98682b31766334ab02f124c76b9;hp=38087c6e662bdc4d6a3a8ac40630a88c4f5fdfbc;hpb=393c437772fab75e1ebf88a85521b680fe3b927b;p=ext%2Fsubsurface.git diff --git a/info.c b/info.c index 38087c6..e53af01 100644 --- a/info.c +++ b/info.c @@ -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)