summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/charset.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/lib/charset.c b/source3/lib/charset.c
index 4869e09fec..217f407b9e 100644
--- a/source3/lib/charset.c
+++ b/source3/lib/charset.c
@@ -132,6 +132,8 @@ static void add_dos_char(int lower, BOOL map_lower_to_upper,
map_upper_to_lower ? "True" : "False"));
if (lower) dos_char_map[lower] = 1;
if (upper) dos_char_map[upper] = 1;
+ lower_char_map[lower] = (char)lower; /* Define tolower(lower) */
+ upper_char_map[upper] = (char)upper; /* Define toupper(upper) */
if (lower && upper) {
if(map_upper_to_lower)
lower_char_map[upper] = (char)lower;