diff --git a/src/gui/components/cc_frm_button.cpp b/src/gui/components/cc_frm_button.cpp index 28ed6747d..f464b4800 100644 --- a/src/gui/components/cc_frm_button.cpp +++ b/src/gui/components/cc_frm_button.cpp @@ -216,8 +216,6 @@ void CComponentsButton::initCaption() Font *tmp_font = cc_btn_font; if ((tmp_font->getHeight()-reduce) > (height-reduce) || (tmp_font->getRenderWidth(cc_btn_text)-reduce) > width-reduce) tmp_font = *cc_btn_dy_font->getDynFont(w_cap, h_cap, cc_btn_text); - if ((cc_btn_font->getHeight()-reduce) > (height-reduce)) - tmp_font = *cc_btn_dy_font->getDynFont(w_cap, h_cap, cc_btn_text); cc_btn_font = tmp_font;