Merge pull request #176 from ComputerNerd/errmsg-fix-13

[FLTK 1.3] Same errmsg fix as the FLTK 1.4 pull request.
This commit is contained in:
erco77 2020-12-13 20:57:38 -08:00 committed by GitHub
commit f3bff256da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -420,7 +420,7 @@ int Fl_Native_File_Chooser::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);
}