Skip to content

Commit

Permalink
修正多字节编码下richedit无法输入的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Troy committed Aug 4, 2015
1 parent 419b437 commit 1184e88
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Demos/gamebox/GameBox.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,8 @@
<SuppressStartupBanner>true</SuppressStartupBanner>
<SubSystem>Windows</SubSystem>
<TargetMachine>MachineX86</TargetMachine>
<IgnoreSpecificDefaultLibraries>libcmt.lib</IgnoreSpecificDefaultLibraries>
<IgnoreSpecificDefaultLibraries>
</IgnoreSpecificDefaultLibraries>
</Link>
<Bscmake>
<SuppressStartupBanner>true</SuppressStartupBanner>
Expand Down
2 changes: 1 addition & 1 deletion DuiLib/Control/UIRichEdit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 1184e88

Please sign in to comment.