Fix uninitialized variable warnings.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4662 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
f3182417c0
commit
5c613e487e
@ -52,9 +52,11 @@ void Fl_Counter::draw() {
|
||||
xx[4] = x()+w()-1*W; ww[4] = W;
|
||||
} else {
|
||||
int W = w()*20/100;
|
||||
xx[1] = 0; ww[1] = 0;
|
||||
xx[2] = x(); ww[2] = W;
|
||||
xx[0] = x()+W; ww[0] = w()-2*W;
|
||||
xx[3] = x()+w()-1*W; ww[3] = W;
|
||||
xx[4] = 0; ww[4] = 0;
|
||||
}
|
||||
|
||||
draw_box(boxtype[0], xx[0], y(), ww[0], h(), FL_BACKGROUND2_COLOR);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user