Fix pinkie having the blues

This commit is contained in:
Magnus Norddahl 2016-10-28 02:41:14 +02:00
parent 767c3a2edd
commit 54c94f6e58

View file

@ -258,14 +258,14 @@ class FillColumnHorizRGBACommand : public DrawerCommand
int _yl; int _yl;
int _yh; int _yh;
int _count; int _count;
int _color; uint32_t _color;
public: public:
FillColumnHorizRGBACommand() FillColumnHorizRGBACommand()
{ {
_x = dc_x; _x = dc_x;
_count = dc_count; _count = dc_count;
_color = dc_color; _color = GPalette.BaseColors[dc_color].d | (uint32_t)0xff000000;
_yl = dc_yl; _yl = dc_yl;
_yh = dc_yh; _yh = dc_yh;
} }
@ -273,7 +273,7 @@ public:
void Execute(DrawerThread *thread) override void Execute(DrawerThread *thread) override
{ {
int count = _count; int count = _count;
int color = _color; uint32_t color = _color;
uint32_t *dest; uint32_t *dest;
if (count <= 0) if (count <= 0)