Changeset 25e30a8d371a…
Parent 96a91ceb5f75…
by
Changes to one file · Browse files at 25e30a8d371a Showing diff from parent 96a91ceb5f75 Diff from another changeset...
@@ -50,9 +50,10 @@ CAtlList<CString> entries;
Tokenize(entries_string, entries, " ");
- for (;;)
+ POSITION position = entries.GetHeadPosition();
+ while (position != NULL)
{
- CString strName = entries.GetHead();
+ CString strName = entries.GetNext(position);
if (strName.IsEmpty())
break;
InsertMenuItemByName(hMenu, strName, indexMenu++, idCmd++, idCmdFirst, L"");
|
Loading...