Follow hint by Marcus and make colors static *const*.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42672 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
bafd229765
commit
dd1bc982f2
@ -62,8 +62,8 @@ void
|
||||
LanguageListItem::DrawItemWithTextOffset(BView* owner, BRect frame,
|
||||
bool complete, float textOffset)
|
||||
{
|
||||
static rgb_color kHighlight = {140, 140, 140, 0};
|
||||
static rgb_color kBlack = {0, 0, 0, 0};
|
||||
static const rgb_color kHighlight = {140, 140, 140, 0};
|
||||
static const rgb_color kBlack = {0, 0, 0, 0};
|
||||
|
||||
if (IsSelected() || complete) {
|
||||
rgb_color color;
|
||||
|
Loading…
x
Reference in New Issue
Block a user