aboutsummaryrefslogtreecommitdiff
path: root/c/episodelistview.cpp
diff options
context:
space:
mode:
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 8185b51..071fbce 100644
--- a/c/episodelistview.cpp
+++ b/c/episodelistview.cpp
@@ -387,7 +387,7 @@ void EpisodeListView::Update()
LVITEM lviEpisode = {LVIF_TEXT|LVIF_PARAM};
/* Retrieve episode data and add list view items. */
- SendMessage(hWnd, WM_SETREDRAW, FALSE, 0);
+ SendMessageW(hWnd, WM_SETREDRAW, FALSE, 0);
ListView_DeleteAllItems(hWnd);
for (int iEp = 1; iEp <= g_cfg.cEp; iEp++) {
ElvDataA e = g_fvElv.At(iEp-1);
@@ -461,7 +461,7 @@ void EpisodeListView::Update()
SetTop(iItemTopNew);
}
- SendMessage(hWnd, WM_SETREDRAW, TRUE, 0);
+ SendMessageW(hWnd, WM_SETREDRAW, TRUE, 0);
}
LRESULT CALLBACK EpisodeListView::WndProc(const HWND hWnd, const UINT uMsg,