From 8cdbc5ce245c70d8d4a7f746f56f67a7b53dac7c Mon Sep 17 00:00:00 2001 From: NoiTaTuM Date: Wed, 11 Jan 2017 12:48:21 -0300 Subject: [PATCH] Fix strupr implementation --- wadext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wadext.cpp b/wadext.cpp index 91dd292..dd5d327 100644 --- a/wadext.cpp +++ b/wadext.cpp @@ -58,7 +58,7 @@ static char* strupr(char* str) { for (char* ch = str; '\0' != *ch; ++ch) { - *ch = tolower(*ch); + *ch = toupper(*ch); } return str;