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
This commit is contained in:
@@ -1111,7 +1111,7 @@ void ScintillaWX::SetUseAntiAliasing(bool useAA) {
|
||||
}
|
||||
|
||||
bool ScintillaWX::GetUseAntiAliasing() {
|
||||
return vs.extraFontFlag;
|
||||
return vs.extraFontFlag != 0;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user