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:
Michael R Sweet 2006-02-22 15:27:39 +00:00
parent e6bbd2d525
commit cbd3bd40a9
1 changed files with 1 additions and 1 deletions

View File

@ -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...