X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=info.c;h=e53af015eb71d4ab63da397c1489fd3bb84ae024;hb=43530d397bd8d754202d0e97d13c32c1f0685f01;hp=38087c6e662bdc4d6a3a8ac40630a88c4f5fdfbc;hpb=827c1e352121af96708f0414248e57d735e3dea8;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)