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:
parent
0af4b7367f
commit
80bc4255ad
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user