Explorar o código

stdlib: Patched to compile.

Ryan C. Gordon %!s(int64=6) %!d(string=hai) anos
pai
achega
4001e6b351
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/stdlib/SDL_string.c

+ 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);
         }
     }