aboutsummaryrefslogtreecommitdiff
path: root/c/episodelistview.cpp
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-07-16 18:27:21 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-07-16 18:27:21 +0200
commit54570cbc0d6e4798ad47a9db2e726372cfc13297 (patch)
tree2e178a43da331af8881fd2f2ee7709f09f346271 /c/episodelistview.cpp
parentbd812f7d928aa64f837e2fbd23e372ab65d03d87 (diff)
downloadEpisodeBrowser-54570cbc0d6e4798ad47a9db2e726372cfc13297.tar.gz
Formatting.
Diffstat (limited to 'c/episodelistview.cpp')
-rw-r--r--c/episodelistview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/episodelistview.cpp b/c/episodelistview.cpp
index a802f90..5003495 100644
--- a/c/episodelistview.cpp
+++ b/c/episodelistview.cpp
@@ -407,8 +407,8 @@ int CALLBACK ElvSort(LPARAM iItem1, LPARAM iItem2, LPARAM lExtra)
LVITEM lvi1, lvi2;
lvi1.mask = lvi2.mask = LVIF_PARAM;
lvi1.iItem = iItem1; lvi2.iItem = iItem2;
- if (!ListView_GetItem(lpElv->HWnd(), &lvi1)) return 0;
- if (!ListView_GetItem(lpElv->HWnd(), &lvi2)) return 0;
+ if (!ListView_GetItem(lpElv->Handle(), &lvi1)) return 0;
+ if (!ListView_GetItem(lpElv->Handle(), &lvi2)) return 0;
/* abs(m_iSort) is the 1-based index of the column to sort by.
* If m_iSort is negative, the order is descending. */