diff options
Diffstat (limited to 'c/datalistview.cpp')
-rw-r--r-- | c/datalistview.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/c/datalistview.cpp b/c/datalistview.cpp index e64f89a..a091ace 100644 --- a/c/datalistview.cpp +++ b/c/datalistview.cpp @@ -56,21 +56,21 @@ void DataListView::ShowEpisode(const int iEpisode) Query q (NULL, PL_predicate("episode_datum", iArity, "episode_data"), t); for (int i = 0; q.NextSolution(); i++) { - std::wstring wstrKey; - std::wstring wstrValue; + std::wstring wsKey; + std::wstring wsValue; - if (!(PlGet(t+1, &wstrKey) && PlGet(t+2, &wstrValue))) + if (!(PlGet(t+1, &wsKey) && PlGet(t+2, &wsValue))) continue; lviKey.mask = LVIF_TEXT; lviKey.iItem = i; lviKey.iSubItem = 0; - lviKey.pszText = wstrKey.data(); + lviKey.pszText = wsKey.data(); ListView_InsertItem(hWnd, &lviKey); lviValue.iItem = i; lviValue.iSubItem = 1; - lviValue.pszText = wstrValue.data(); + lviValue.pszText = wsValue.data(); ListView_SetItem(hWnd, &lviValue); } |