diff options
Diffstat (limited to 'src/search.cpp')
-rw-r--r-- | src/search.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/search.cpp b/src/search.cpp index cd1ef40..3a493ff 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -210,7 +210,7 @@ StateSearch::class2regexp(MatchState &state, const gchar *&pattern, break; case STATE_CTL_E: - switch (g_ascii_toupper(*pattern)) { + switch (String::toupper(*pattern)) { case 'A': pattern++; state = STATE_START; @@ -379,7 +379,7 @@ StateSearch::pattern2regexp(const gchar *&pattern, case STATE_CTL_E: state = STATE_START; - switch (g_ascii_toupper(*pattern)) { + switch (String::toupper(*pattern)) { case 'M': state = STATE_MANY; break; case 'S': String::append(re, "\\s+"); break; /* same as <CTRL/X> */ |