summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorIan MacArthur <imacarthur@gmail.com>2016-01-28 11:18:01 +0000
committerIan MacArthur <imacarthur@gmail.com>2016-01-28 11:18:01 +0000
commite2cc1a80f09b7b33665be2ae14ef20673f9d6f7b (patch)
tree10d398c9dcd94e27e5d95ffc277dbe818437a7d1 /src/drivers
parent74aa645d8f4193b3796a6cd1e8ccea20cfb9f9ea (diff)
Some trivial adjustments to support building
under Win32/mingw with the configure/make on Win7 with Msys. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11073 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/GDI/Fl_GDI_Graphics_Driver_color.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/drivers/GDI/Fl_GDI_Graphics_Driver_color.cxx b/src/drivers/GDI/Fl_GDI_Graphics_Driver_color.cxx
index 24744a927..4991c9ccd 100644
--- a/src/drivers/GDI/Fl_GDI_Graphics_Driver_color.cxx
+++ b/src/drivers/GDI/Fl_GDI_Graphics_Driver_color.cxx
@@ -33,6 +33,9 @@
// to co-exist, creating conflicts with multipe mapping.
// FIXME: maybe we can forget about color mapping and assume RGB?
+//static unsigned fl_cmap[256] = {
+//#include "../../fl_cmap.h" // this is a file produced by "cmap.cxx":
+//};
// Translations to win32 data structures:
Fl_XMap fl_xmap[256];
@@ -150,7 +153,7 @@ HBRUSH fl_brush_action(int action) {
for (int j=0; j<FL_N_BRUSH; j++) {
if (brushes[j].usage>16000)
brushes[j].usage -= 16000;
- else
+ else
brushes[j].usage = 0;
}
}