mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
CComponentsFrmClock: fix wrong initialization of w_tmp
This commit is contained in:
@@ -248,7 +248,7 @@ void CComponentsFrmClock::initCCLockItems()
|
|||||||
//extract timestring segment (char)
|
//extract timestring segment (char)
|
||||||
string stmp = s_time.substr(i, 1);
|
string stmp = s_time.substr(i, 1);
|
||||||
|
|
||||||
int w_tmp = minSepWidth;
|
int w_tmp = 0;
|
||||||
//get width of current segment
|
//get width of current segment
|
||||||
if (isdigit(stmp.at(0)) ) //check for digits, if true, we use digit width
|
if (isdigit(stmp.at(0)) ) //check for digits, if true, we use digit width
|
||||||
w_tmp = cl_font->getMaxDigitWidth();
|
w_tmp = cl_font->getMaxDigitWidth();
|
||||||
|
Reference in New Issue
Block a user