diff --git a/dlls/ns/AllocString.h b/dlls/ns/AllocString.h index ca7c6abc..b5134ba0 100644 --- a/dlls/ns/AllocString.h +++ b/dlls/ns/AllocString.h @@ -87,7 +87,7 @@ public: while (iter!=end) { - if (strcmp(str,(*iter)->c_str())) + if (strcmp(str, (*iter)->c_str()) == 0) { // String is already in the list, do not allocate it again return MAKE_STRING((*iter)->c_str());