From 22eb66defb3c4b4edc572c258e2b4ba3882075c0 Mon Sep 17 00:00:00 2001 From: Chris Lawrence Date: Sun, 8 Mar 2009 05:38:26 -0500 Subject: Imported Debian patch 4.0-20090301-3 --- renderer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'renderer.c') diff --git a/renderer.c b/renderer.c index f003206..48d9dc9 100644 --- a/renderer.c +++ b/renderer.c @@ -190,7 +190,7 @@ static int jcl_keywords_equal(const char *jclline1, const char *jclline2, j1 = strstr(jclline1, jclstr); if (!j1) return 0; if (!(p1 = strchr(skip_whitespace(j1), '='))) - p1 = j1[strlen(j1)]; + p1 = &j1[strlen(j1)]; p1--; while (p1 > j1 && isspace(*p1)) p1--; @@ -198,7 +198,7 @@ static int jcl_keywords_equal(const char *jclline1, const char *jclline2, j2 = strstr(jclline2, jclstr); if (!j2) return 0; if (!(p2 = strchr(skip_whitespace(j2), '='))) - p2 = j2[strlen(j2)]; + p2 = &j2[strlen(j2)]; p2--; while (p2 > j2 && isspace(*p2)) p2--; -- cgit v1.2.3