diff options
author | John Ankarström <john@ankarstrom.se> | 2022-02-17 15:29:05 +0100 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-02-17 15:29:05 +0100 |
commit | 6c50f818e8a9f42921aa171e1d34265bb1f35985 (patch) | |
tree | 01f50138c38eedb354220a8826944bb9decfc9c3 /c | |
parent | 8b450d317275072c10da567ac991e170d78cb320 (diff) | |
download | EpisodeBrowser-6c50f818e8a9f42921aa171e1d34265bb1f35985.tar.gz |
Small changes.
Diffstat (limited to 'c')
-rw-r--r-- | c/episodelistview.c | 2 | ||||
-rw-r--r-- | c/main.c | 2 |
2 files changed, 1 insertions, 3 deletions
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; @@ -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; |