On 21 Jul 2015, at 19:32, André Hentschel wrote:
> --- a/dlls/user32/tests/sysparams.c
> +++ b/dlls/user32/tests/sysparams.c
> @@ -1554,8 +1554,9 @@ static void test_SPI_SETNONCLIENTMETRICS( void ) /* 44 */
>
> ok( Ncmcur.iCaptionWidth == 8 ||
> Ncmcur.iCaptionWidth == 12 || /* Vista, W7b */
> + Ncmcur.iCaptionWidth == 13 || /* Win7 japanese */
> Ncmcur.iCaptionWidth == Ncmstart.iCaptionWidth, /* with windows XP theme, the value never changes */
> - "CaptionWidth: %d expected 8, 12 or %d\n", Ncmcur.iCaptionWidth, Ncmstart.iCaptionWidth);
> + "CaptionWidth: %d expected 8, 12, 13 or %d\n", Ncmcur.iCaptionWidth, Ncmstart.iCaptionWidth);
> ok( Ncmcur.iScrollWidth == 8,
> "ScrollWidth: %d expected 8\n", Ncmcur.iScrollWidth);
> ok( Ncmcur.iScrollHeight == 8,
I deliberately haven't fixed it like this because it has already become untenable.
I suspect it should be compared to the height of the default gui font, or something like that.
Huw.