src/SDL_error.c
branchgsoc2008_nds
changeset 2698 e1da92da346c
parent 2049 5f6550e5184f
child 2859 99210400e8b9
equal deleted inserted replaced
2697:c9121b04cffa 2698:e1da92da346c
   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->
   183                                      SDL_LookupString(error->args[argi++].
   184                                                       args[argi++].buf));
   184                                                       buf));
   185                     msg += len;
   185                     msg += len;
   186                     maxlen -= len;
   186                     maxlen -= len;
   187                     break;
   187                     break;
   188                 }
   188                 }
   189             } else {
   189             } else {