summaryrefslogtreecommitdiffstats
path: root/info.c
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-12-14 21:06:00 -0800
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-12-14 21:06:00 -0800
commitb5139aeb22c8a28cac89b7f9a561bd9d4e2bb358 (patch)
tree83a245b25b27816d190b79bdb31003d3e8861deb /info.c
parentb0759feef87fcf820682cb36d65f2252c2cc12ae (diff)
parent0a9e5aa7353476d70c4eb9866aeda979118d04e5 (diff)
downloadsubsurface-b5139aeb22c8a28cac89b7f9a561bd9d4e2bb358.tar.gz
Merge branch 'forlinus' of git://git.hohndel.org/subsurface
* 'forlinus' of git://git.hohndel.org/subsurface: Return is not a function
Diffstat (limited to 'info.c')
-rw-r--r--info.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/info.c b/info.c
index 38087c6e6..e53af015e 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)