mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
CColorChooser: use matching data type
Origin commit data
------------------
Commit: 7a3506629a
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-03 (Thu, 03 Oct 2013)
This commit is contained in:
@@ -122,12 +122,13 @@ int CColorChooser::exec(CMenuTarget* parent, const std::string &)
|
||||
unsigned char r_alt= *value[VALUE_R];
|
||||
unsigned char g_alt= *value[VALUE_G];
|
||||
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();
|
||||
setColor();
|
||||
|
||||
int selected = 0;
|
||||
int selected = 0;
|
||||
|
||||
uint64_t timeoutEnd = CRCInput::calcTimeoutEnd(g_settings.timing[SNeutrinoSettings::TIMING_MENU] == 0 ? 0xFFFF : g_settings.timing[SNeutrinoSettings
|
||||
::TIMING_MENU]);
|
||||
|
Reference in New Issue
Block a user