diff options
Diffstat (limited to 'kernel/libc/ctype/tolower.c')
-rw-r--r-- | kernel/libc/ctype/tolower.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/libc/ctype/tolower.c b/kernel/libc/ctype/tolower.c index f1bb163..c14ea54 100644 --- a/kernel/libc/ctype/tolower.c +++ b/kernel/libc/ctype/tolower.c @@ -1,7 +1,8 @@ #include <ctype.h> int tolower(int c) { - if (c >= 'A' && c <= 'Z') + if (c >= 'A' && c <= 'Z') { return c - 'A' + 'a'; + } return c; } |