1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-29 11:41:22 +03:00

- error.c: Jean Franois Lecomte provided a complete description

and a fix to bug #53537
Daniel
This commit is contained in:
Daniel Veillard
2001-04-26 09:16:13 +00:00
parent 5c4ec4c862
commit 5a7c3459d0
2 changed files with 12 additions and 2 deletions

View File

@ -137,8 +137,13 @@ xmlParserPrintFileContext(xmlParserInputPtr input) {
*ctnt++ = ' ';
cur--;
}
*(--ctnt) = '^';
*(++ctnt) = 0;
if (ctnt > content) {
*(--ctnt) = '^';
*(++ctnt) = 0;
} else {
*ctnt = '^';
*(++ctnt) = 0;
}
xmlGenericError(xmlGenericErrorContext,"%s\n", content);
}