summaryrefslogtreecommitdiff
path: root/include/chartypes.h
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2011-11-22 19:11:26 -0500
committerChet Ramey <chet.ramey@case.edu>2011-11-22 19:11:26 -0500
commit495aee441b75276e38c75694ccb455bb6463fdb9 (patch)
treef12907dbf62388e6c65dfa1c5e1199509936707e /include/chartypes.h
parent30d188c2932d6ef609d894fefeb7e7b03ccff463 (diff)
downloadbash-495aee441b75276e38c75694ccb455bb6463fdb9.tar.gz
Bash-4.2 distribution sources and documentationbash-4.2
Diffstat (limited to 'include/chartypes.h')
-rw-r--r--include/chartypes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/chartypes.h b/include/chartypes.h
index 05607691..77bcad97 100644
--- a/include/chartypes.h
+++ b/include/chartypes.h
@@ -107,7 +107,7 @@
#endif
#ifndef UNCTRL
/* control char to letter -- ASCII */
-# define UNCTRL(x) (TOUPPER((x) | 0x40))
+# define UNCTRL(x) (TOUPPER(x) ^ 0x40)
#endif
#endif /* _SH_CHARTYPES_H */