Author: AlbrechtS
Date: 2010-11-15 07:19:08 -0800 (Mon, 15 Nov 2010)
New Revision: 7841
Log:
Fix Windows file chooser preview (STR #2440)


Modified:
   branches/branch-1.3/src/Fl_File_Chooser2.cxx

Modified: branches/branch-1.3/src/Fl_File_Chooser2.cxx
===================================================================
--- branches/branch-1.3/src/Fl_File_Chooser2.cxx        2010-11-15 13:10:14 UTC 
(rev 7840)
+++ branches/branch-1.3/src/Fl_File_Chooser2.cxx        2010-11-15 15:19:08 UTC 
(rev 7841)
@@ -1346,7 +1346,7 @@
     int                bytes;
     char       *ptr;
 
-    if (filename) fp = fopen(filename, "rb");
+    if (filename) fp = fl_fopen(filename, "rb");
     else fp = NULL;
 
     if (fp != NULL) {

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to