CComponentsFrmClock: fix wrong comparison

This commit is contained in:
2017-05-27 02:51:36 +02:00
parent fcc3a12e88
commit 4455c65225

View File

@@ -390,7 +390,7 @@ void CComponentsFrmClock::paint(bool do_save_bg)
void CComponentsFrmClock::setClockFont(Font *font, const int& style)
{
if (cl_font != font || (cl_font != font)){
if (cl_font != font || cl_font_style != style){
if (cl_font != font)
cl_font = font;
if (style != -1)