mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
CColorChooser: use matching data type
This commit is contained in:
@@ -122,7 +122,8 @@ int CColorChooser::exec(CMenuTarget* parent, const std::string &)
|
|||||||
unsigned char r_alt= *value[VALUE_R];
|
unsigned char r_alt= *value[VALUE_R];
|
||||||
unsigned char g_alt= *value[VALUE_G];
|
unsigned char g_alt= *value[VALUE_G];
|
||||||
unsigned char b_alt= *value[VALUE_B];
|
unsigned char b_alt= *value[VALUE_B];
|
||||||
unsigned char a_alt = (value[VALUE_ALPHA]) ? (*(value[VALUE_ALPHA])) : 0;
|
unsigned char a_null = 0;
|
||||||
|
unsigned char a_alt = (value[VALUE_ALPHA]) ? (*(value[VALUE_ALPHA])) : a_null;
|
||||||
|
|
||||||
paint();
|
paint();
|
||||||
setColor();
|
setColor();
|
||||||
|
Reference in New Issue
Block a user