aboutsummaryrefslogtreecommitdiff
path: root/c/main.cpp
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-07-14 04:05:34 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-07-14 04:05:34 +0200
commit96f0accc818ad98abcb0d37e53d0a31e08ce4987 (patch)
tree0ff850793420b66cf78ac539d4dbe9f7c393ac11 /c/main.cpp
parent26f70ab37bee8ffd70b662ff999613c643215605 (diff)
downloadEpisodeBrowser-96f0accc818ad98abcb0d37e53d0a31e08ce4987.tar.gz
Minor formal changes.
Height(DLVSIKEY) was incorrect. The argument to Height is supposed to be a boolean value, in this case false. It happened to work because DLVSIKEY is 0 (because Key is the 0th column in the data list view).
Diffstat (limited to 'c/main.cpp')
-rw-r--r--c/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/main.cpp b/c/main.cpp
index 43fe5f0..3cfe2d6 100644
--- a/c/main.cpp
+++ b/c/main.cpp
@@ -522,7 +522,7 @@ UpdateLayout()
/* Resize data list view. */
SendMessage(g_lpDlv->HWnd(), WM_SETREDRAW, FALSE, 0);
SendMessage(g_lpElv->HWnd(), WM_SETREDRAW, FALSE, 0);
- cyDlv = rc.bottom-yStatus-g_lpDlv->Height(DLVSIKEY);
+ cyDlv = rc.bottom-yStatus-g_lpDlv->Height();
MoveWindow(g_lpDlv->HWnd(), 0, cyDlv, rc.right, rc.bottom-yStatus-cyDlv, TRUE);
ListView_SetColumnWidth(g_lpDlv->HWnd(), DLVSIKEY, LVSCW_AUTOSIZE);
cxColumn = ListView_GetColumnWidth(g_lpDlv->HWnd(), 0)+4;