From 1184e8867aa01983550fd1bd5c79c19940f2b26f Mon Sep 17 00:00:00 2001 From: Troy Date: Tue, 4 Aug 2015 10:38:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E5=A4=9A=E5=AD=97=E8=8A=82?= =?UTF-8?q?=E7=BC=96=E7=A0=81=E4=B8=8Brichedit=E6=97=A0=E6=B3=95=E8=BE=93?= =?UTF-8?q?=E5=85=A5=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Demos/gamebox/GameBox.vcxproj | 3 ++- DuiLib/Control/UIRichEdit.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Demos/gamebox/GameBox.vcxproj b/Demos/gamebox/GameBox.vcxproj index 73907763..3d94ac7f 100644 --- a/Demos/gamebox/GameBox.vcxproj +++ b/Demos/gamebox/GameBox.vcxproj @@ -211,7 +211,8 @@ true Windows MachineX86 - libcmt.lib + + true diff --git a/DuiLib/Control/UIRichEdit.cpp b/DuiLib/Control/UIRichEdit.cpp index 7a4c3c9a..d1f186a7 100644 --- a/DuiLib/Control/UIRichEdit.cpp +++ b/DuiLib/Control/UIRichEdit.cpp @@ -1068,8 +1068,8 @@ CRichEditUI::CRichEditUI() : m_pTwh(NULL), m_bVScrollBarFixing(false), m_bWantTa m_fAccumulateDBC =true; #else m_fAccumulateDBC= false; - ::ZeroMemory(&m_rcTextPadding, sizeof(m_rcTextPadding)); #endif + ::ZeroMemory(&m_rcTextPadding, sizeof(m_rcTextPadding)); } CRichEditUI::~CRichEditUI()