* fix 'uninitialized'-warnings in launchpad
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38276 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -91,20 +91,16 @@ PadView::Draw(BRect updateRect)
|
|||||||
while (current <= stop) {
|
while (current <= stop) {
|
||||||
rgb_color col1;
|
rgb_color col1;
|
||||||
rgb_color col2;
|
rgb_color col2;
|
||||||
switch (num) {
|
if (num == 1) {
|
||||||
case 1:
|
|
||||||
col1 = shadow;
|
col1 = shadow;
|
||||||
col2 = background;
|
col2 = background;
|
||||||
break;
|
} else if (num == 2) {
|
||||||
case 2:
|
|
||||||
col1 = background;
|
col1 = background;
|
||||||
col2 = light;
|
col2 = light;
|
||||||
break;
|
} else {
|
||||||
case 3:
|
|
||||||
col1 = background;
|
col1 = background;
|
||||||
col2 = background;
|
col2 = background;
|
||||||
num = 0;
|
num = 0;
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
SetHighColor(col1);
|
SetHighColor(col1);
|
||||||
StrokeLine(dot, dot, B_SOLID_HIGH);
|
StrokeLine(dot, dot, B_SOLID_HIGH);
|
||||||
|
|||||||
Reference in New Issue
Block a user