Skip to content

Commit b012fad

Browse files
committed
thcrap: fix hardcoded string translations for non-format strings passed to strings_*sprintf
1 parent 2c1da74 commit b012fad

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

thcrap/src/strings.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,10 +205,9 @@ void strings_va_lookup(va_list va, const char* format_in)
205205
}
206206
// case 'z': case 't': case 'w':; // default:
207207
}
208-
++format;
209208
}
210209
CheckFormatStr(format) {
211-
switch (*format++) {
210+
switch (*format) {
212211
case 'p': case 'n': case 'Z':
213212
case 'c': case 'C':
214213
#ifdef TH_X86

0 commit comments

Comments
 (0)