Resolve '&&' ambiguity

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2007-11-13 10:57:49 +00:00
parent 717de46036
commit 0b44214c97
2 changed files with 1 additions and 5 deletions

View 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];