From c3d1d22f66123e2d670fbc18f04634ca06a7e5df Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 29 Dec 2013 00:01:25 +0000 Subject: [PATCH] Fix harmless MSVC warning. Avoid "converting value to bool" warning introduced by r75310. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/cmdproc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/cmdproc.cpp b/src/common/cmdproc.cpp index 4534de633e..40c2023ba8 100644 --- a/src/common/cmdproc.cpp +++ b/src/common/cmdproc.cpp @@ -333,7 +333,7 @@ bool wxCommandProcessor::IsDirty() const { // We have never been saved, so we are dirty if and only if we have any // commands at all. - return m_currentCommand; + return m_currentCommand != NULL; } if ( !m_currentCommand )