summaryrefslogtreecommitdiff
path: root/render/list.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-04-16 12:49:49 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-04-16 12:49:49 +0000
commit6a7b1a73a7bcc4e4e6ee3a2343fd11b2453aefb1 (patch)
treede7b79a609c26b5deb62d0b1b0139ef2513528c1 /render/list.c
parent3a12ed0facbdbc79b358d48d78f158a735ee6158 (diff)
downloadnetsurf-6a7b1a73a7bcc4e4e6ee3a2343fd11b2453aefb1.tar.gz
netsurf-6a7b1a73a7bcc4e4e6ee3a2343fd11b2453aefb1.tar.bz2
Fix compilation with GCC 2.95.
It astounds me how some of this lot compiled at all. svn path=/trunk/netsurf/; revision=7104
Diffstat (limited to 'render/list.c')
-rw-r--r--render/list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/render/list.c b/render/list.c
index 8b5ef698e..84b5beffc 100644
--- a/render/list.c
+++ b/render/list.c
@@ -186,7 +186,7 @@ bool render_list_counter_increment(char *name, int value) {
if (counter->state)
counter->state->count += value;
/* render_list_counter_output(name);
-*/ return (counter->state);
+*/ return counter->state != NULL;
}