From: Robert Roebling Date: Fri, 24 Aug 2001 19:55:38 +0000 (+0000) Subject: Fixed apparent typo. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/51a229c65f93a8fbb0c80dcec98ba3fc9c95ad2f?ds=sidebyside Fixed apparent typo. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/listbox.cpp b/src/mac/carbon/listbox.cpp index 780e28bc7e..e281c6a66e 100644 --- a/src/mac/carbon/listbox.cpp +++ b/src/mac/carbon/listbox.cpp @@ -308,7 +308,7 @@ int wxListBox::FindString(const wxString& st) const if ( EqualString( s1 , s2 , false , false ) ) return i ; } - if ( s.Left(1) = "*" && s.Length() > 1 ) + if ( s.Left(1) == "*" && s.Length() > 1 ) { s.MakeLower() ; for ( int i = 0 ; i < m_noItems ; ++i ) diff --git a/src/mac/listbox.cpp b/src/mac/listbox.cpp index 780e28bc7e..e281c6a66e 100644 --- a/src/mac/listbox.cpp +++ b/src/mac/listbox.cpp @@ -308,7 +308,7 @@ int wxListBox::FindString(const wxString& st) const if ( EqualString( s1 , s2 , false , false ) ) return i ; } - if ( s.Left(1) = "*" && s.Length() > 1 ) + if ( s.Left(1) == "*" && s.Length() > 1 ) { s.MakeLower() ; for ( int i = 0 ; i < m_noItems ; ++i )