CComponentsFrmClock: fix wrong initialization of w_tmp

Origin commit data
------------------
Branch: ni/coolstream
Commit: 758081a0ac
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-08-28 (Mon, 28 Aug 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
2017-08-28 12:16:45 +02:00
parent 6b015862c1
commit 9569be0ff1

View File

@@ -248,7 +248,7 @@ void CComponentsFrmClock::initCCLockItems()
//extract timestring segment (char)
string stmp = s_time.substr(i, 1);
int w_tmp = minSepWidth;
int w_tmp = 0;
//get width of current segment
if (isdigit(stmp.at(0)) ) //check for digits, if true, we use digit width
w_tmp = cl_font->getMaxDigitWidth();