diff options
Diffstat (limited to 'c/main.cpp')
-rw-r--r-- | c/main.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -383,9 +383,7 @@ void WndProcMainMenu(const HWND hWnd, unsigned short wCommand) const int iEpFocus = ListView_GetNextItem(g_pElv->hWnd, -1, LVNI_FOCUSED); if (iEpFocus == -1) break; - LVITEM lvi; - lvi.iItem = iEpFocus; - lvi.mask = LVIF_PARAM; + LVITEM lvi = {LVIF_PARAM, iEpFocus}; if (!ListView_GetItem(g_pElv->hWnd, &lvi)) break; char* sz; |