diff options
| author | Fabien Costantini <fabien@onepost.net> | 2012-04-22 03:09:31 +0000 |
|---|---|---|
| committer | Fabien Costantini <fabien@onepost.net> | 2012-04-22 03:09:31 +0000 |
| commit | dc6e8a5f8ae8c24bf7fb3aa0d702eb4415ace6b5 (patch) | |
| tree | d68777285441e7703ad2e2dd3b86a6ca566c5f39 /src/fl_draw_pixmap.cxx | |
| parent | a5196976cc56590e2cbc261932ec1ee3f310a7fa (diff) | |
fixed missing win32 preprocessor clause
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9375 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/fl_draw_pixmap.cxx')
| -rw-r--r-- | src/fl_draw_pixmap.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
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--; } |
