Fixed warning, needs more work by @icculus
This commit is contained in:
@@ -154,7 +154,7 @@ static char *CaseFoldUtf8String(const char *fname)
|
|||||||
SDL_assert(num_folded <= SDL_arraysize(folded));
|
SDL_assert(num_folded <= SDL_arraysize(folded));
|
||||||
for (int i = 0; i < num_folded; i++) {
|
for (int i = 0; i < num_folded; i++) {
|
||||||
SDL_assert(written < allocation);
|
SDL_assert(written < allocation);
|
||||||
retval[written++] = folded[i];
|
retval[written++] = (char)folded[i];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user