From 6c50f818e8a9f42921aa171e1d34265bb1f35985 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Thu, 17 Feb 2022 15:29:05 +0100 Subject: Small changes. --- Makefile | 2 +- README.rtf | Bin 2183 -> 2573 bytes c/episodelistview.c | 2 +- c/main.c | 2 -- 4 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 6f1eb72..ff7123d 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ ROOT = $(dir $(abspath $(lastword $(MAKEFILE_LIST)))) C = $(ROOT)c/main.c OBJ != cd $(ROOT)c && ls *.c | grep -v main.c | sed 's/c$$/obj/' OBJ += resource.obj -PL += $(ROOT)pl/track_episodes.pl +PL = $(ROOT)pl/track_episodes.pl PL += $(ROOT)pl/local_episodes.pl PL += $(ROOT)pl/episode_data.pl diff --git a/README.rtf b/README.rtf index 63c7598..d62c27f 100644 Binary files a/README.rtf and b/README.rtf differ diff --git a/c/episodelistview.c b/c/episodelistview.c index dbccd29..040383a 100644 --- a/c/episodelistview.c +++ b/c/episodelistview.c @@ -18,7 +18,7 @@ ElvCreate() LVCOLUMN lvc; LpLviElvSelection = malloc(sizeof(LVITEM)); - if (!LpLviElvSelection) return 0; + if (!LpLviElvSelection) return NULL; HElv = LvCreate((HMENU)IDC_EPISODELISTVIEW); lvc.mask = LVCF_WIDTH|LVCF_TEXT|LVCF_SUBITEM; diff --git a/c/main.c b/c/main.c index 1ef714c..1a4e287 100644 --- a/c/main.c +++ b/c/main.c @@ -185,8 +185,6 @@ INT_PTR CALLBACK AboutDlgProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) { switch (uMsg) { - case WM_INITDIALOG: - return TRUE; case WM_CLOSE: EndDialog(hWnd, IDOK); break; -- cgit v1.2.3