From d6a6b8fbd4c1f6659a08577856a490666b878eaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Va=CC=81clav=20Slavi=CC=81k?= Date: Sun, 10 Jul 2016 16:39:09 +0200 Subject: [PATCH] Fix VC++ warning about comparing bool with > 0 --- src/common/utilscmn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/utilscmn.cpp b/src/common/utilscmn.cpp index 4d612202c8..973ded2631 100644 --- a/src/common/utilscmn.cpp +++ b/src/common/utilscmn.cpp @@ -1171,7 +1171,7 @@ wxString wxStripMenuCodes(const wxString& in, int flags) } // The initial '?' means we match "Foo(&F)" but not "(&F)" - if (label.Matches("?*(&?)") > 0) + if (label.Matches("?*(&?)")) { label = label.Left( label.Len()-4 ).Trim(); return label + accel;