comparison src/video/wscons/SDL_wsconsvideo.c @ 1596:56f952883795

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Thu, 23 Mar 2006 07:38:32 +0000
parents 8d9bb0cf2c2a
children 782fd950bd46 c121d94672cb a1b03ba2fcd0
comparison
equal deleted inserted replaced
1595:4aa7df2476e7 1596:56f952883795
68 static void WSCONS_UpdateRects(_THIS, int numrects, SDL_Rect *rects); 68 static void WSCONS_UpdateRects(_THIS, int numrects, SDL_Rect *rects);
69 69
70 void WSCONS_ReportError(char *fmt, ...) 70 void WSCONS_ReportError(char *fmt, ...)
71 { 71 {
72 char message[200]; 72 char message[200];
73 va_list vaArgs;
73 74
74 message[199] = '\0'; 75 message[199] = '\0';
75 76
76 va_list vaArgs;
77 va_start(vaArgs, fmt); 77 va_start(vaArgs, fmt);
78 vsnprintf(message, 199, fmt, vaArgs); 78 vsnprintf(message, 199, fmt, vaArgs);
79 va_end(vaArgs); 79 va_end(vaArgs);
80 80
81 SDL_SetError(message); 81 SDL_SetError(message);