summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2010-01-24 19:54:15 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2010-01-24 19:54:15 +0000
commitc75d0b5fab5f3143099de1c80e25e611d32b8525 (patch)
tree27f4f2ad04fdd1b999fccdba14f5b89935f52827
parenta565ba5fcee3adc4b70f836bebec901aca5d11f9 (diff)
downloadlibnsfb-c75d0b5fab5f3143099de1c80e25e611d32b8525.tar.gz
libnsfb-c75d0b5fab5f3143099de1c80e25e611d32b8525.tar.bz2
Hopefully fix gcc 4.2.4 stuff.
svn path=/trunk/libnsfb/; revision=9902
-rw-r--r--src/plot/generic.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plot/generic.c b/src/plot/generic.c
index c328220..429d231 100644
--- a/src/plot/generic.c
+++ b/src/plot/generic.c
@@ -133,6 +133,8 @@ static bool find_span(const int *p, int n, int x, int y, int *x0, int *x1)
bool found_span_start = false;
x0_min = x1_min = INT_MIN;
+ x0c = x1c = 0;
+ *x0 = *x1 = INT_MAX;
/* search row for next span, returning it if one exists */
do {