src/stdlib/SDL_string.c
changeset 7217 ae087380127d
parent 7216 3586fc0ba156
child 7236 81ebe816a6da
equal deleted inserted replaced
7216:3586fc0ba156 7217:ae087380127d
  1329 
  1329 
  1330 static size_t
  1330 static size_t
  1331 SDL_PrintFloat(char *text, size_t maxlen, SDL_FormatInfo *info, double arg)
  1331 SDL_PrintFloat(char *text, size_t maxlen, SDL_FormatInfo *info, double arg)
  1332 {
  1332 {
  1333     int i, width;
  1333     int i, width;
  1334     size_t len, spot;
  1334     size_t len;
  1335     size_t left = maxlen;
  1335     size_t left = maxlen;
  1336     char *textstart = text;
  1336     char *textstart = text;
  1337 
  1337 
  1338     if (arg) {
  1338     if (arg) {
  1339         /* This isn't especially accurate, but hey, it's easy. :) */
  1339         /* This isn't especially accurate, but hey, it's easy. :) */