aboutsummaryrefslogtreecommitdiff
path: root/c/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/main.c')
-rw-r--r--c/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/main.c b/c/main.c
index eaca8f3..cf9818a 100644
--- a/c/main.c
+++ b/c/main.c
@@ -125,7 +125,7 @@ WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
LPMINMAXINFO lpMMI = (LPMINMAXINFO)lParam;
extern HWND HDlv;
- lpMMI->ptMinTrackSize.y = LvHeight(HDlv)+80;
+ lpMMI->ptMinTrackSize.y = LvHeight(HDlv, 0)+80;
break;
}
case WM_THEMECHANGED:
@@ -314,7 +314,7 @@ UpdateLayout()
/* Resize data list view. */
hDlv = GetDlgItem(HWnd, IDC_DATALISTVIEW);
- cyDlv = rc.bottom - LvHeight(hDlv);
+ cyDlv = rc.bottom - LvHeight(hDlv, 0);
MoveWindow(hDlv, 0, cyDlv, rc.right, rc.bottom, TRUE);
cxColumn = ListView_GetColumnWidth(hDlv, 0);