aboutsummaryrefslogtreecommitdiff
path: root/c
diff options
context:
space:
mode:
Diffstat (limited to 'c')
-rw-r--r--c/episodelistview.c2
-rw-r--r--c/main.c2
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;
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;