diff options
author | John Ankarström <john@ankarstrom.se> | 2022-07-14 04:05:34 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-07-14 04:05:34 +0200 |
commit | 96f0accc818ad98abcb0d37e53d0a31e08ce4987 (patch) | |
tree | 0ff850793420b66cf78ac539d4dbe9f7c393ac11 /c/main.cpp | |
parent | 26f70ab37bee8ffd70b662ff999613c643215605 (diff) | |
download | EpisodeBrowser-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.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |