Module: wine Branch: master Commit: df0168d8ebb9365de841f05864f1d033d647d2b4 URL: http://source.winehq.org/git/wine.git/?a=commit;h=df0168d8ebb9365de841f05864...
Author: Ge van Geldorp ge@gse.nl Date: Sun Jan 18 01:00:32 2009 +0100
user32/tests: Save iSmCaptionWidth for later testing.
---
dlls/user32/tests/sysparams.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/user32/tests/sysparams.c b/dlls/user32/tests/sysparams.c index cf228e0..27d8ea4 100644 --- a/dlls/user32/tests/sysparams.c +++ b/dlls/user32/tests/sysparams.c @@ -1353,6 +1353,7 @@ static int get_tmheight( LOGFONTA *plf, int flag) }
static void test_GetSystemMetrics( void); +static UINT smcxsmsize = 999999999;
static void test_SPI_SETNONCLIENTMETRICS( void ) /* 44 */ { @@ -1374,6 +1375,7 @@ static void test_SPI_SETNONCLIENTMETRICS( void ) /* 44 */ if (!test_error_msg(rc,"SPI_{GET,SET}NONCLIENTMETRICS")) return; Ncmstart = Ncmorig; + smcxsmsize = Ncmstart.iSmCaptionWidth; /* SPI_GETNONCLIENTMETRICS returns some "cooked" values. For instance if the caption font height is higher than the CaptionHeight field, the latter is adjusted accordingly. To be able to restore these setting @@ -2437,7 +2439,6 @@ static void get_text_metr_size( HDC hdc, LOGFONTA *plf, TEXTMETRICA * ptm, UINT }
static int gsm_error_ctr; -static UINT smcxsmsize = 999999999;
#define ok_gsm( i, e)\ {\