Reserved special sequence names may be upper case too. Even without LOCALE.
authormarkus schnalke <meillo@marmaro.de>
Thu, 5 Jan 2012 10:19:22 +0000 (11:19 +0100)
committermarkus schnalke <meillo@marmaro.de>
Thu, 5 Jan 2012 10:19:22 +0000 (11:19 +0100)
sbr/m_convert.c

index 98c4733..b42a5aa 100644 (file)
@@ -270,13 +270,7 @@ m_conv(struct msgs *mp, char *str, int call)
                        return BADNUM;
        }
 
-#ifdef LOCALE
-       /* doesn't enforce lower case */
-       for (bp = buf; isalpha(*cp) && (bp - buf < sizeof(buf) - 1); )
-#else
-       for (bp = buf; islower(*cp) && (bp - buf < sizeof(buf) - 1); )
-#endif /* LOCALE */
-       {
+       for (bp = buf; isalpha(*cp) && (bp - buf < sizeof(buf) - 1); ) {
                *bp++ = *cp++;
        }
        *bp++ = '\0';