From e66d4b09cf5ce1af317c23d2844fa1ce68269dbf Mon Sep 17 00:00:00 2001 From: Peter Oberndorfer Date: Mon, 24 Dec 2007 10:01:49 +0100 Subject: [PATCH] change default iSmCaptionWidth to 12 like it is on XP --- dlls/user32/sysparams.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/user32/sysparams.c b/dlls/user32/sysparams.c index 11cdc9faada..0d9870a09bc 100644 --- a/dlls/user32/sysparams.c +++ b/dlls/user32/sysparams.c @@ -330,7 +330,7 @@ static NONCLIENTMETRICSW nonclient_metrics = 18, /* iCaptionWidth */ 18, /* iCaptionHeight */ { 0 }, /* lfCaptionFont */ - 13, /* iSmCaptionWidth */ + 12, /* iSmCaptionWidth */ 15, /* iSmCaptionHeight */ { 0 }, /* lfSmCaptionFont */ 18, /* iMenuWidth */ @@ -1073,7 +1073,7 @@ static void load_nonclient_metrics(void) } /* size of the small caption buttons */ - ncm.iSmCaptionWidth = get_reg_metric(hkey, METRICS_SMCAPTIONWIDTH_VALNAME, 13); + ncm.iSmCaptionWidth = get_reg_metric(hkey, METRICS_SMCAPTIONWIDTH_VALNAME, 12); ncm.iSmCaptionHeight = get_reg_metric(hkey, METRICS_SMCAPTIONHEIGHT_VALNAME, 15); /* small caption font metrics */ -- 2.11.4.GIT