commit | 5a7c3459d0fb823f82a22e120a7f199eaf4140af | [log] [tgz] |
---|---|---|
author | Daniel Veillard <veillard@src.gnome.org> | Thu Apr 26 09:16:13 2001 +0000 |
committer | Daniel Veillard <veillard@src.gnome.org> | Thu Apr 26 09:16:13 2001 +0000 |
tree | 33ca5c24183b705c85f3038e5592ef4798f66ae3 | |
parent | 5c4ec4c8625e057424e6685f228a15e8fe7f8d4d [diff] [blame] |
- error.c: Jean François Lecomte provided a complete description and a fix to bug #53537 Daniel
diff --git a/error.c b/error.c index 0bb3a84..4477afe 100644 --- a/error.c +++ b/error.c
@@ -137,8 +137,13 @@ *ctnt++ = ' '; cur--; } - *(--ctnt) = '^'; - *(++ctnt) = 0; + if (ctnt > content) { + *(--ctnt) = '^'; + *(++ctnt) = 0; + } else { + *ctnt = '^'; + *(++ctnt) = 0; + } xmlGenericError(xmlGenericErrorContext,"%s\n", content); }