comparison win/dw.c @ 1404:56f311dc23f6

Changes to get the library building with Watcom on OS/2. These changes mean that VisualAge 3.0 will no longer build the library. Please use version 3.6 or higher.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Tue, 29 Nov 2011 15:25:41 +0000
parents 20c6d0c50c94
children 96460bd4c679
comparison
equal deleted inserted replaced
1403:20c6d0c50c94 1404:56f311dc23f6
3996 * ...: Additional variables for use in the format. 3996 * ...: Additional variables for use in the format.
3997 */ 3997 */
3998 int API dw_messagebox(char *title, int flags, char *format, ...) 3998 int API dw_messagebox(char *title, int flags, char *format, ...)
3999 { 3999 {
4000 va_list args; 4000 va_list args;
4001 char outbuf[1024]; 4001 char outbuf[1025] = { 0 };
4002 int rc; 4002 int rc;
4003 4003
4004 va_start(args, format); 4004 va_start(args, format);
4005 vsnprintf(outbuf, 1024, format, args); 4005 vsnprintf(outbuf, 1024, format, args);
4006 va_end(args); 4006 va_end(args);