From dc6e8a5f8ae8c24bf7fb3aa0d702eb4415ace6b5 Mon Sep 17 00:00:00 2001 From: Fabien Costantini Date: Sun, 22 Apr 2012 03:09:31 +0000 Subject: [PATCH] fixed missing win32 preprocessor clause git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9375 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/fl_draw_pixmap.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/fl_draw_pixmap.cxx b/src/fl_draw_pixmap.cxx index 1e2a98f25..9fc988bdc 100644 --- a/src/fl_draw_pixmap.cxx +++ b/src/fl_draw_pixmap.cxx @@ -230,7 +230,9 @@ int fl_draw_pixmap(const char*const* cdata, int x, int y, Fl_Color bg) { #endif transparent_index = ' '; Fl::get_color(bg, c[0], c[1], c[2]); c[3] = 0; +#ifdef WIN32 transparent_c = c; +#endif p += 4; ncolors--; }