X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0b44214c977aceae6fdcd68bfb3aa311aaf6a86f..e1673e527f08395de6864b09540162ca409a3c28:/src/common/appbase.cpp diff --git a/src/common/appbase.cpp b/src/common/appbase.cpp index 27fa04d6b3..66297871a4 100644 --- a/src/common/appbase.cpp +++ b/src/common/appbase.cpp @@ -177,7 +177,7 @@ bool wxAppConsoleBase::Initialize(int& argcOrig, wxChar **argvOrig) #endif #ifndef __WXPALMOS__ - if ( m_appName.empty() && (bool) argv ) + if ( m_appName.empty() && argv ) { // the application name is, by default, the name of its executable file wxFileName::SplitPath(argv[0], NULL, &m_appName, NULL);