Author: matt
Date: 2009-11-07 13:01:08 -0800 (Sat, 07 Nov 2009)
New Revision: 6926
Log:
Fixed unintialised member variables. STR #2288
Modified:
branches/branch-1.1/src/fl_show_colormap.cxx
Modified: branches/branch-1.1/src/fl_show_colormap.cxx
===================================================================
--- branches/branch-1.1/src/fl_show_colormap.cxx 2009-11-01 21:18:47 UTC
(rev 6925)
+++ branches/branch-1.1/src/fl_show_colormap.cxx 2009-11-07 21:01:08 UTC
(rev 6926)
@@ -53,7 +53,8 @@
Fl_Window(BOXSIZE*8+1+2*BORDER, BOXSIZE*32+1+2*BORDER) {
clear_border();
set_modal();
- initial = which = oldcol;
+ initial = which = previous = oldcol;
+ done = 0;
}
void ColorMenu::drawbox(Fl_Color c) {
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit