fix local var names

This commit is contained in:
mmb70
2020-07-24 19:26:37 -04:00
committed by Kenix3
parent b93b6f0389
commit ae6b5c6aa1
+8 -7
View File
@@ -5,14 +5,15 @@
* Compare strings (strcmp).
*/
s32 func_800968B0(const char* str1, const char* str2) {
char v0;
char v1;
char currentCharStr1;
char currentCharStr2;
do {
v0 = *str1++;
v1 = *str2++;
if (v0 != v1) {
return v0 - v1;
currentCharStr1 = *str1++;
currentCharStr2 = *str2++;
if (currentCharStr1 != currentCharStr2) {
return currentCharStr1 - currentCharStr2;
}
} while (v0);
} while (currentCharStr1);
return 0;
}