]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/stdpbase.cpp
More DC changes
[wxWidgets.git] / src / common / stdpbase.cpp
index 6d0609e118d33dd4eaa2786bd21c0c195ea76c68..198486075d18ad2ebb09946036dc353f84862c10 100644 (file)
@@ -53,7 +53,7 @@ wxStandardPathsBase& wxStandardPathsBase::Get()
 
 wxString wxStandardPathsBase::GetExecutablePath() const
 {
-    if ( !wxTheApp || !wxTheApp->argv )
+    if ( !wxTheApp || ! (bool) wxTheApp->argv )
         return wxEmptyString;
 
     wxString argv0 = wxTheApp->argv[0];