Revert to "C" locale for LC_NUMERIC, so that PDFs won't be corrupted
[sgt/halibut] / bk_html.c
index 3cd8eca..41a9f76 100644 (file)
--- a/bk_html.c
+++ b/bk_html.c
@@ -2101,7 +2101,7 @@ static char *html_sanitise_fragment(htmlfilelist *files, htmlfile *file,
 
     /* If there's nothing left, make something valid up */
     if (!*text) {
-       static const char *const anonfrag = "anon";
+       static const char anonfrag[] = "anon";
        text = sresize(text, lenof(anonfrag), char);
        strcpy(text, anonfrag);
     }