diff options
| author | Greg Ercolano <erco@seriss.com> | 2020-08-07 16:29:52 -0700 |
|---|---|---|
| committer | Greg Ercolano <erco@seriss.com> | 2020-08-07 16:29:52 -0700 |
| commit | b105dd726fc43405bf4388cce018097fb11febfd (patch) | |
| tree | 198d736a1290df66e6688a0c800d32eafad0666d /src | |
| parent | 91e8a0282ca92b05edd3761ccb9134156d00126a (diff) | |
Error string that was created is now saved with errmsg()
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_Native_File_Chooser_WIN32.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Fl_Native_File_Chooser_WIN32.cxx b/src/Fl_Native_File_Chooser_WIN32.cxx index 594afd53e..580e6e23a 100644 --- a/src/Fl_Native_File_Chooser_WIN32.cxx +++ b/src/Fl_Native_File_Chooser_WIN32.cxx @@ -438,6 +438,7 @@ int Fl_WinAPI_Native_File_Chooser_Driver::showfile() { if ( len >= _ofn_ptr->nMaxFile ) { char msg[80]; sprintf(msg, "preset_file() filename is too long: %ld is >=%ld", (long)len, (long)fsize); + errmsg(msg); return(-1); } wcscpy(_ofn_ptr->lpstrFile, utf8towchar(_preset_file)); |
