Removed the non-LOCALE character code and the #ifdefs and simplified.
[mmh] / sbr / fmt_compile.c
index bcd7b3d..cf5c497 100644 (file)
@@ -237,11 +237,7 @@ compile_error(char *str, char *cp)
        usr_fstring[errpos] = '\0';
 
        for (i = errpos-errctx; i < errpos; i++) {
-#ifdef LOCALE
                if (iscntrl(usr_fstring[i]))
-#else
-               if (usr_fstring[i] < 32)
-#endif
                        usr_fstring[i] = '_';
        }