aboutsummaryrefslogtreecommitdiff
path: root/c
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-03-06 22:37:19 +0100
committerJohn Ankarström <john@ankarstrom.se>2022-03-06 22:37:19 +0100
commit06de1a12afaa2d3f4940290f87604eea9031c86d (patch)
tree685d64eb0036cdc5535dfcc374ed12b1a4b78d13 /c
parent23df5644c2ce8209a8387257f8d6942736008663 (diff)
downloadEpisodeBrowser-06de1a12afaa2d3f4940290f87604eea9031c86d.tar.gz
Update data for all episodes at once.
Previously, a remote request would be made once per episode.
Diffstat (limited to 'c')
-rw-r--r--c/common.c3
-rw-r--r--c/listview.c1
2 files changed, 2 insertions, 2 deletions
diff --git a/c/common.c b/c/common.c
index 6f7772c..a4ac7d2 100644
--- a/c/common.c
+++ b/c/common.c
@@ -4,8 +4,7 @@
#include "resource.h"
#include "defs.h"
-/* Convert zero-terminated non-wide (multi-byte) string to
- * zero-terminated wide/non-wide string depending on UNICODE. */
+/* Convert normal string to TSTR using given codepage. */
TCHAR *
TszFromSz(const char *sz, int iCp)
{
diff --git a/c/listview.c b/c/listview.c
index 40c3108..971c4e9 100644
--- a/c/listview.c
+++ b/c/listview.c
@@ -70,6 +70,7 @@ LvProc(HWND hLv, UINT uMsg, WPARAM wParam, LPARAM lParam)
return CallWindowProc(LvPrevProc, hLv, uMsg, wParam, lParam);
}
+/* Enable/disable non-classic list view theme. */
void
LvSetTheme(HWND hLv, int bUseTheme)
{