From c26400bd067ce812a7dd3b090dce0928b8b0e80e Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 7 Apr 2010 12:55:21 +0000 Subject: [PATCH] Fix harmless MSVC warning about int to bool conversion in Scintilla. The warning is harmless but prevents buildbot from reporting any new warnings during the library compilation step so suppress it. Notice that it might be better if ViewStyle::extraFontFlag was bool and not int to begin with. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/stc/ScintillaWX.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stc/ScintillaWX.cpp b/src/stc/ScintillaWX.cpp index 0850bcbced..3e384177bb 100644 --- a/src/stc/ScintillaWX.cpp +++ b/src/stc/ScintillaWX.cpp @@ -1111,7 +1111,7 @@ void ScintillaWX::SetUseAntiAliasing(bool useAA) { } bool ScintillaWX::GetUseAntiAliasing() { - return vs.extraFontFlag; + return vs.extraFontFlag != 0; } //----------------------------------------------------------------------