user32/tests: Test for caption width of 13 on japanese W7
André Hentschel
nerv at dawncrow.de
Tue Jul 21 13:32:57 CDT 2015
https://test.winehq.org/data/tests/user32:sysparams.html
---
dlls/user32/tests/sysparams.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/user32/tests/sysparams.c b/dlls/user32/tests/sysparams.c
index 1ee8920..0888214 100644
--- 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,
--
1.9.1
More information about the wine-patches
mailing list