diff options
author | Didier Raboud <didier@raboud.com> | 2010-05-23 00:08:55 +0200 |
---|---|---|
committer | Didier Raboud <didier@raboud.com> | 2010-05-23 00:08:55 +0200 |
commit | 9d9c706369af38dbd2673155a7047ce196e09e53 (patch) | |
tree | 647000310f38d684c4cfb25fb187a5ea3e09aad4 /renderer.c | |
parent | 28b11afe093d8a0ed71bdeeffcd3c9f2bd663e15 (diff) |
Imported Upstream version 4.0-20090311upstream/4.0-20090311
Diffstat (limited to 'renderer.c')
-rw-r--r-- | renderer.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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--; |