1379N/A--- enscript-1.6.1/src/main.c.locale Mon Mar 18 11:23:14 2002
1379N/A+++ enscript-1.6.1/src/main.c Mon Mar 18 11:24:08 2002
6636N/A@@ -954,9 +954,8 @@
1379N/A * We want to change only messages (gs do not like decimals in 0,1
1379N/A * format ;)
1379N/A */
1379N/A-#if HAVE_LC_MESSAGES
1379N/A- setlocale (LC_MESSAGES, "");
1379N/A-#endif
1379N/A+ setlocale (LC_ALL, "");
1379N/A+ setlocale (LC_NUMERIC, "C");
1379N/A #endif
1379N/A #if ENABLE_NLS
1379N/A bindtextdomain (PACKAGE, LOCALEDIR);
1379N/A--- enscript-1.6.1/src/psgen.c.locale Mon Mar 18 11:23:14 2002
1379N/A+++ enscript-1.6.1/src/psgen.c Mon Mar 18 11:23:14 2002
6636N/A@@ -1210,7 +1210,8 @@
1379N/A /* Get escape name. */
1379N/A for (i = 0; i < sizeof (escname) - 1 && (ch = is_getc (is)) != EOF; i++)
1379N/A {
1379N/A- if (!isalnum (ch))
1379N/A+ if (!((ch >= '0' && ch <= '9') || (ch >= 'A' && ch <= 'Z') ||
1379N/A+ (ch >= 'a' && ch <= 'z')))
1379N/A {
1379N/A is_ungetc (ch, is);
1379N/A break;