Fixed unintialised member variables. STR #2288

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6926 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Matthias Melcher 2009-11-07 21:01:08 +00:00
parent 2d4ec14ce9
commit e33955efbf
1 changed files with 2 additions and 1 deletions

View File

@ -53,7 +53,8 @@ ColorMenu::ColorMenu(Fl_Color oldcol) :
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) {