aboutsummaryrefslogtreecommitdiff
path: root/c/datalistview.cpp
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-07-20 02:30:50 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-07-20 02:30:50 +0200
commit79d4fa6d9a79295b747eedcc17b4de6ccdde7e37 (patch)
treee410ce9da4c00e6082625d2ed7e61a216f31f29d /c/datalistview.cpp
parent3d56ea09228ac2989eb8b89c8b69909603d61c3e (diff)
downloadEpisodeBrowser-79d4fa6d9a79295b747eedcc17b4de6ccdde7e37.tar.gz
Fix ANSI compatibility.
It's not very useful, but it's a fun exercise.
Diffstat (limited to 'c/datalistview.cpp')
-rw-r--r--c/datalistview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/datalistview.cpp b/c/datalistview.cpp
index 517a055..eace820 100644
--- a/c/datalistview.cpp
+++ b/c/datalistview.cpp
@@ -18,13 +18,13 @@ DataListView::DataListView(const HWND hWndParent)
lvc.mask = LVCF_WIDTH|LVCF_TEXT|LVCF_SUBITEM;
lvc.iSubItem = DLVSIKEY;
- lvc.pszText = TEXT("Key");
+ lvc.pszText = (TCHAR*)TEXT("Key");
lvc.cx = Dpi(42);
ListView_InsertColumn(hWnd, DLVSIKEY, &lvc);
lvc.iSubItem = DLVSIVALUE;
- lvc.pszText = TEXT("Value");
+ lvc.pszText = (TCHAR*)TEXT("Value");
lvc.cx = 500;
ListView_InsertColumn(hWnd, DLVSIVALUE, &lvc);
}