aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/utils.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.cc b/src/utils.cc
index 11aa048..3937923 100644
--- a/src/utils.cc
+++ b/src/utils.cc
@@ -143,7 +143,7 @@ int toLower(int c){
int toUpper(int c){
// TODO(fusion): Same problem as `isAlpha`.
- if(('A' <= c && c <= 'Z') || (0xE0 <= c && c <= 0xFE && c != 0xF7)){
+ if(('a' <= c && c <= 'z') || (0xE0 <= c && c <= 0xFE && c != 0xF7)){
c -= 32;
}
return c;