src/SDL_error.c
changeset 3011 8f4ed5ec2b06
parent 2859 99210400e8b9
child 3013 8cc00819c8d6
equal deleted inserted replaced
3010:a6694a812119 3011:8f4ed5ec2b06
   178                     maxlen -= len;
   178                     maxlen -= len;
   179                     break;
   179                     break;
   180                 case 's':
   180                 case 's':
   181                     len =
   181                     len =
   182                         SDL_snprintf(msg, maxlen, tmp,
   182                         SDL_snprintf(msg, maxlen, tmp,
   183                                      SDL_LookupString(error->args[argi++].
   183                                      SDL_LookupString(error->
   184                                                       buf));
   184                                                       args[argi++].buf));
   185                     msg += len;
   185                     msg += len;
   186                     maxlen -= len;
   186                     maxlen -= len;
   187                     break;
   187                     break;
   188                 }
   188                 }
   189             } else {
   189             } else {