mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-16 01:38:27 +00:00
stdlib: Patched to compile.
This commit is contained in:
parent
987aa3113c
commit
4001e6b351
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue