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()