Skip to content

Commit

Permalink
Fix recent typo, upcase called from locase as well
Browse files Browse the repository at this point in the history
  • Loading branch information
pinterf committed Feb 8, 2025
1 parent afa0ec7 commit 858e4f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion avs_core/core/parser/script.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -916,7 +916,7 @@ static const char* toLowerCase(const char* string) {
return tmp;
}
AVSValue LCase(AVSValue args, void*, IScriptEnvironment* env) {
const char* res = toUpperCase(args[0].AsString());
const char* res = toLowerCase(args[0].AsString());
if (res == nullptr)
env->ThrowError("LCase: memory allocation error");
AVSValue result = env->SaveString(res);
Expand Down

0 comments on commit 858e4f7

Please sign in to comment.