Skip to content
Snippets Groups Projects
Commit 5d24a3a2 authored by Ove Kåven's avatar Ove Kåven Committed by Alexandre Julliard
Browse files

SM_C[XY]FRAME is BorderWidth + 1.

parent 8e3201c5
No related branches found
No related tags found
No related merge requests found
......@@ -93,7 +93,7 @@ void SYSMETRICS_Init(void)
sysMetrics[SM_CXSIZE] = sysMetrics[SM_CYCAPTION] - 2;
sysMetrics[SM_CYSIZE] = sysMetrics[SM_CXSIZE];
sysMetrics[SM_CXFRAME] = GetProfileIntA("Windows", "BorderWidth", 4);
sysMetrics[SM_CXFRAME] = GetProfileIntA("Windows", "BorderWidth", 4) + 1;
sysMetrics[SM_CYFRAME] = sysMetrics[SM_CXFRAME];
sysMetrics[SM_CXMINTRACK] = sysMetrics[SM_CXMIN];
sysMetrics[SM_CYMINTRACK] = sysMetrics[SM_CYMIN];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment