This part wasn't meant to be committed

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32262 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini 2009-08-11 19:02:30 +00:00
parent c7f89a129d
commit 9620428fdf
1 changed files with 4 additions and 7 deletions

View File

@ -337,13 +337,10 @@ BWindowScreen::SetColorList(rgb_color *list, int32 firstIndex, int32 lastIndex)
for (int32 x = firstIndex; x <= lastIndex; x++) {
fPalette[x] = list[x - firstIndex];
// update our local palette as well
}
j = 0;
for (int32 i = 0; i < 256; i++) {
colors[j++] = fPalette[i].red;
colors[j++] = fPalette[i].green;
colors[j++] = fPalette[i].blue;
colors[j++] = fPalette[x].red;
colors[j++] = fPalette[x].green;
colors[j++] = fPalette[x].blue;
}
if (fAddonImage >= 0) {