Fix Windows file chooser preview (STR #2440)

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7841 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Albrecht Schlosser 2010-11-15 15:19:08 +00:00
parent 0af4b7367f
commit 80bc4255ad

View File

@ -1346,7 +1346,7 @@ Fl_File_Chooser::update_preview()
int bytes;
char *ptr;
if (filename) fp = fopen(filename, "rb");
if (filename) fp = fl_fopen(filename, "rb");
else fp = NULL;
if (fp != NULL) {