aboutsummaryrefslogtreecommitdiff
path: root/src/StringUtils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/StringUtils.cpp')
-rw-r--r--src/StringUtils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/StringUtils.cpp b/src/StringUtils.cpp
index 96fdaeb..9820d29 100644
--- a/src/StringUtils.cpp
+++ b/src/StringUtils.cpp
@@ -103,7 +103,7 @@ namespace QuickMedia {
size_t str_find_case_insensitive(const std::string &str, size_t start_index, const char *substr, size_t substr_len) {
auto it = std::search(str.begin() + start_index, str.end(), substr, substr + substr_len,
[](char c1, char c2) {
- return std::toupper(c1) == std::toupper(c2);
+ return to_upper(c1) == to_upper(c2);
});
if(it == str.end())
return std::string::npos;