summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
Diffstat (limited to 'Src')
-rw-r--r--Src/options.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/Src/options.c b/Src/options.c
index b46986495..14b730ea5 100644
--- a/Src/options.c
+++ b/Src/options.c
@@ -571,7 +571,9 @@ bin_setopt(char *nam, char **args, UNUSED(Options ops), int isun)
 		if (*t == '_')
 		    chuck(t);
 		else {
-		    *t = tulower(*t);
+		    /* See comment in optlookup() */
+		    if (*t >= 'A' && *t <= 'Z')
+			*t = (*t - 'A') + 'a';
 		    t++;
 		}