diff options
Diffstat (limited to 'CPP/7zip/UI/FileManager/LangPage.cpp')
| -rw-r--r-- | CPP/7zip/UI/FileManager/LangPage.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/CPP/7zip/UI/FileManager/LangPage.cpp b/CPP/7zip/UI/FileManager/LangPage.cpp index 3aeaf13..626c91b 100644 --- a/CPP/7zip/UI/FileManager/LangPage.cpp +++ b/CPP/7zip/UI/FileManager/LangPage.cpp | |||
| @@ -253,8 +253,7 @@ bool CLangPage::OnInit() | |||
| 253 | temp += " "; | 253 | temp += " "; |
| 254 | temp += rec.Mark; | 254 | temp += rec.Mark; |
| 255 | } | 255 | } |
| 256 | const int index = (int)_langCombo.AddString(temp); | 256 | const int index = (int)_langCombo.AddString_SetItemData(temp, (LPARAM)rec.LangInfoIndex); |
| 257 | _langCombo.SetItemData(index, (LPARAM)rec.LangInfoIndex); | ||
| 258 | if (rec.IsSelected) | 257 | if (rec.IsSelected) |
| 259 | _langCombo.SetCurSel(index); | 258 | _langCombo.SetCurSel(index); |
| 260 | } | 259 | } |
