Browse Source

Fix SDL's compilation.

Alex Szpakowski 6 years ago
parent
commit
63ff1503c3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libs/SDL2/src/stdlib/SDL_string.c

+ 1 - 1
libs/SDL2/src/stdlib/SDL_string.c

@@ -1602,7 +1602,7 @@ SDL_PrintFloat(char *text, size_t maxlen, SDL_FormatInfo *info, double arg)
         
         
         if (end != textstart) {
         if (end != textstart) {
             const size_t filllen = SDL_min(len, ((size_t) (end - textstart)) - 1);
             const size_t filllen = SDL_min(len, ((size_t) (end - textstart)) - 1);
-            SDL_memset(textstart, fill, fillen);
+            SDL_memset(textstart, fill, filllen);
         }
         }
     }
     }