mirror of
https://github.com/fltk/fltk.git
synced 2026-06-08 10:00:38 +08:00
Don't try to load image file we couldn't open
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4794 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -227,7 +227,7 @@ Fl_Shared_Image::reload() {
|
||||
fread(header, 1, sizeof(header), fp);
|
||||
fclose(fp);
|
||||
} else {
|
||||
memset(header, 0, sizeof(header));
|
||||
return;
|
||||
}
|
||||
|
||||
// Load the image as appropriate...
|
||||
|
||||
Reference in New Issue
Block a user