Fix for ambiguities which happen in STL=1 mode under DigitalMars C++.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -813,7 +813,7 @@ bool read_a_line(wxChar *buf)
|
||||
if (checkSyntax)
|
||||
{
|
||||
wxString bufStr = buf;
|
||||
for (int index=0; syntaxTokens[index] != wxEmptyString; index++)
|
||||
for (int index=0; !syntaxTokens[index].empty(); index++)
|
||||
{
|
||||
size_t pos = bufStr.find(syntaxTokens[index]);
|
||||
if (pos != wxString::npos && pos != 0)
|
||||
|
Reference in New Issue
Block a user