fix some (harmless) mingw32 4.3 warnings

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-08-30 16:30:53 +00:00
parent 58bd9838c5
commit d3acc83ae9
3 changed files with 6 additions and 6 deletions

View File

@@ -617,8 +617,8 @@ void ScintillaWX::UpdateSystemCaret() {
bool ScintillaWX::HasCaretSizeChanged() {
#ifdef __WXMSW__
if (( (0 != vs.caretWidth) && (sysCaretWidth != vs.caretWidth) )
|| (0 != vs.lineHeight) && (sysCaretHeight != vs.lineHeight)) {
if ( (vs.caretWidth && (sysCaretWidth != vs.caretWidth))
|| (vs.lineHeight && (sysCaretHeight != vs.lineHeight)) ) {
return true;
}
#endif