Navigation Menu

Skip to content

Commit

Permalink
stdlib: Patched to compile.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Sep 26, 2019
1 parent 987aa31 commit 4001e6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stdlib/SDL_string.c
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit 4001e6b

Please sign in to comment.