]> git.tdb.fi Git - ext/subsurface.git/blobdiff - info.c
Return is not a function
[ext/subsurface.git] / info.c
diff --git a/info.c b/info.c
index 38087c6e662bdc4d6a3a8ac40630a88c4f5fdfbc..e53af015eb71d4ab63da397c1489fd3bb84ae024 100644 (file)
--- 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)