(apply_translations): Use TOUPPER, not toupper.
authorJim Meyering <jim@meyering.net>
Fri, 7 May 1999 18:36:54 +0000 (18:36 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 7 May 1999 18:36:54 +0000 (18:36 +0000)
src/dd.c

index 063aebe..3aa8564 100644 (file)
--- a/src/dd.c
+++ b/src/dd.c
@@ -627,14 +627,14 @@ only one conv in {ascii,ebcdic,ibm}, {lcase,ucase}, {block,unblock}, {unblock,sy
     {
       for (i = 0; i < 256; i++)
        if (ISLOWER (trans_table[i]))
-         trans_table[i] = toupper (trans_table[i]);
+         trans_table[i] = TOUPPER (trans_table[i]);
       translation_needed = 1;
     }
   else if (conversions_mask & C_LCASE)
     {
       for (i = 0; i < 256; i++)
        if (ISUPPER (trans_table[i]))
-         trans_table[i] = tolower (trans_table[i]);
+         trans_table[i] = TOLOWER (trans_table[i]);
       translation_needed = 1;
     }