Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
stdlib: Patched to compile.
- Loading branch information
Showing
with
1 addition
and
1 deletion.
-
+1
−1
src/stdlib/SDL_string.c
|
@@ -1602,7 +1602,7 @@ SDL_PrintFloat(char *text, size_t maxlen, SDL_FormatInfo *info, double arg) |
|
|
|
|
|
if (end != textstart) { |
|
|
const size_t filllen = SDL_min(len, ((size_t) (end - textstart)) - 1); |
|
|
SDL_memset(textstart, fill, fillen); |
|
|
SDL_memset(textstart, fill, filllen); |
|
|
} |
|
|
} |
|
|
|
|
|