diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_Native_File_Chooser_WIN32.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Native_File_Chooser_WIN32.cxx b/src/Fl_Native_File_Chooser_WIN32.cxx index f9bc77787..860d677d9 100644 --- a/src/Fl_Native_File_Chooser_WIN32.cxx +++ b/src/Fl_Native_File_Chooser_WIN32.cxx @@ -502,7 +502,7 @@ int Fl_WinAPI_Native_File_Chooser_Driver::showfile() { if ( exterr == 0 ) return(1); // user hit cancel // Otherwise, an error occurred.. char msg[80]; - sprintf(msg, "CommDlgExtendedError() code=%d", err); + sprintf(msg, "CommDlgExtendedError() code=%d", exterr); errmsg(msg); return(-1); } |
