Skip to content
Permalink
Browse files

stdlib: Patched to compile.

  • Loading branch information
icculus committed Sep 26, 2019
1 parent 987aa31 commit 4001e6b3513e2895eabdc823ddd115222aaee64d
Showing with 1 addition and 1 deletion.
  1. +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);
}
}

0 comments on commit 4001e6b

Please sign in to comment.