summaryrefslogtreecommitdiff
path: root/src/Fl_BMP_Image.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2010-10-28 21:47:01 +0000
committerMatthias Melcher <fltk@matthiasm.com>2010-10-28 21:47:01 +0000
commit8f79d200a0c20c1840f8f8fa9862c4f84ce72135 (patch)
tree7695dc20692a91694f00424da1c5a8caad792e2d /src/Fl_BMP_Image.cxx
parent1b6dae10bff9e86977f7293e14d48fb8b619a1c9 (diff)
Fixed the remaining warnings
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7767 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_BMP_Image.cxx')
-rw-r--r--src/Fl_BMP_Image.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_BMP_Image.cxx b/src/Fl_BMP_Image.cxx
index 8587790bc..2b8693264 100644
--- a/src/Fl_BMP_Image.cxx
+++ b/src/Fl_BMP_Image.cxx
@@ -177,7 +177,7 @@ Fl_BMP_Image::Fl_BMP_Image(const char *bmp) // I - File to read
for (repcount = 0; repcount < colors_used; repcount ++) {
// Read BGR color...
- fread(colormap[repcount], 1, 3, fp);
+ if (fread(colormap[repcount], 1, 3, fp)==0) { /* ignore */ }
// Skip pad byte for new BMP files...
if (info_size > 12) getc(fp);