From e617bab6cf52d0465a1ec159ad8a3640e7bff170 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Fri, 1 Nov 2013 19:44:45 +0100 Subject: [PATCH] CTextBox: reinit text variables after evaluated comparison --- src/gui/widget/textbox.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/widget/textbox.cpp b/src/gui/widget/textbox.cpp index 637716501..e60946120 100644 --- a/src/gui/widget/textbox.cpp +++ b/src/gui/widget/textbox.cpp @@ -537,6 +537,7 @@ void CTextBox::reInitToCompareVar(int* x, int* y, int* dx, int* dy) m_old_nBgRadius = m_nBgRadius; m_old_nBgRadiusType = m_nBgRadiusType; m_old_nMode = m_nMode; + m_old_cText = m_cText; } void CTextBox::refreshText(void)