diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 1998-11-05 19:46:59 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 1998-11-05 19:46:59 +0000 |
| commit | 754414ac6aad97b8d31fd43c165aae38413327fb (patch) | |
| tree | 8d31b501ba60731890c8220ee9d87cf51a3050bb /src | |
| parent | 3e181b5c3c97c15615f2172e520b3d0a432b11b4 (diff) | |
It's vsnprintf(), not vnsprintf()...
git-svn-id: file:///fltk/svn/fltk/trunk@57 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_abort.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Fl_abort.cxx b/src/Fl_abort.cxx index b03df4eb6..b13a8a39b 100644 --- a/src/Fl_abort.cxx +++ b/src/Fl_abort.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_abort.cxx,v 1.4 1998/11/05 16:04:49 mike Exp $" +// "$Id: Fl_abort.cxx,v 1.5 1998/11/05 19:46:59 mike Exp $" // // Warning/error message code for the Fast Light Tool Kit (FLTK). // @@ -64,7 +64,7 @@ static void warning(const char *format, ...) { va_list args; char buf[1024]; va_start(args, format); - vnsprintf(buf, 1024, format, args); + vsnprintf(buf, 1024, format, args); va_end(args); MessageBox(0,buf,"Warning",MB_ICONEXCLAMATION|MB_OK); } @@ -73,7 +73,7 @@ static void error(const char *format, ...) { va_list args; char buf[1024]; va_start(args, format); - vnsprintf(buf, 1024, format, args); + vsnprintf(buf, 1024, format, args); va_end(args); MessageBox(0,buf,"Error",MB_ICONSTOP|MB_SYSTEMMODAL); ::exit(1); @@ -86,5 +86,5 @@ void (*Fl::error)(const char* format, ...) = ::error; void (*Fl::fatal)(const char* format, ...) = ::error; // -// End of "$Id: Fl_abort.cxx,v 1.4 1998/11/05 16:04:49 mike Exp $". +// End of "$Id: Fl_abort.cxx,v 1.5 1998/11/05 19:46:59 mike Exp $". // |
