diff options
author | John Ankarström <john@ankarstrom.se> | 2022-07-26 19:41:11 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-07-26 19:41:11 +0200 |
commit | b966497200b47ca5efb3a5853891ea4590927371 (patch) | |
tree | 45670cff2c4682f0d0c1b1e33c1dddadfe8d58d7 /c/datalistview.cpp | |
parent | 547cbe578dcdb5aa5cfdac1cdb327f92bad21219 (diff) | |
download | EpisodeBrowser-b966497200b47ca5efb3a5853891ea4590927371.tar.gz |
Use 's' instead of 'str' for as prefix for managed strings.
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); } |