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:
9
error.c
9
error.c
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user