summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2023-01-01 17:15:00 +0100
committerMatthias Melcher <github@matthiasm.com>2023-01-01 17:15:00 +0100
commit9a3f0f2089a98c3705d3f3e58aa235b808d51b8f (patch)
tree093a5a3f85e83412786c594ecd19fa41a3c057f9
parentab0d59220eb341daea4ac30bb4b506370de98eb0 (diff)
FLUID: BMP header file not tracked
-rw-r--r--fluid/Fluid_Image.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/fluid/Fluid_Image.cxx b/fluid/Fluid_Image.cxx
index 4e985845b..0340bc7b6 100644
--- a/fluid/Fluid_Image.cxx
+++ b/fluid/Fluid_Image.cxx
@@ -149,9 +149,9 @@ void Fluid_Image::write_static(int compressed) {
} else if (compressed && strcmp(fl_filename_ext(name()), ".bmp")==0) {
// Write bmp image data...
write_c("\n");
- if (gif_header_written != write_number) {
+ if (bmp_header_written != write_number) {
write_c("#include <FL/Fl_BMP_Image.H>\n");
- gif_header_written = write_number;
+ bmp_header_written = write_number;
}
write_c("static const unsigned char %s[] =\n", idata_name);
size_t nData = write_static_binary("BMP");