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:
Włodzimierz Skiba
2005-03-24 20:01:55 +00:00
parent 7c11806499
commit 489f6cf713
12 changed files with 29 additions and 29 deletions

View File

@@ -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)