FLTK logo

[branch-1.3] 724eddf - FLTK 1.3 had the same exterr problem.

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.commit  ]
 
Previous Message ]Next Message ]

[branch-1.3] 724eddf - FLTK 1.3 had the same exterr problem. "ComputerNerd" Dec 13, 2020  
 
commit 724eddf2083e112073e933558d2bd032673e905e
Author:     ComputerNerd <theprogrammernerd@gmail.com>
AuthorDate: Sun Dec 13 21:54:24 2020 -0600
Commit:     ComputerNerd <theprogrammernerd@gmail.com>
CommitDate: Sun Dec 13 21:54:24 2020 -0600

    FLTK 1.3 had the same exterr problem.

 src/Fl_Native_File_Chooser_WIN32.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git src/Fl_Native_File_Chooser_WIN32.cxx src/Fl_Native_File_Chooser_WIN32.cxx
index 9a980a8..acfc02c 100644
--- src/Fl_Native_File_Chooser_WIN32.cxx
+++ src/Fl_Native_File_Chooser_WIN32.cxx
@@ -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);
   }
Direct Link to Message ]
 
     
Previous Message ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.