From b2af51956dd065e63e9935f9337b77d48095b949 Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Mon, 2 Apr 2012 14:40:38 +0900 Subject: [PATCH] gdi32: Remove a no longer needed shortcut in CreateScalableFontResource test. --- dlls/gdi32/tests/font.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/dlls/gdi32/tests/font.c b/dlls/gdi32/tests/font.c index 38a8544d768..93f174a4daf 100644 --- a/dlls/gdi32/tests/font.c +++ b/dlls/gdi32/tests/font.c @@ -4003,9 +4003,6 @@ static void test_CreateScalableFontResource(void) todo_wine ok(!ret, "RemoveFontResourceEx() should fail\n"); - /* FIXME: since CreateScalableFontResource is a stub further testing is impossible */ - if (ret) return; - /* test public font resource */ SetLastError(0xdeadbeef); ret = CreateScalableFontResource(0, fot_name, ttf_name, NULL); @@ -4022,11 +4019,11 @@ todo_wine ok(ret, "font wine_test should be enumerated\n"); ret = pRemoveFontResourceExA(fot_name, FR_PRIVATE, 0); +todo_wine ok(!ret, "RemoveFontResourceEx() with not matching flags should fail\n"); SetLastError(0xdeadbeef); ret = pRemoveFontResourceExA(fot_name, 0, 0); -todo_wine ok(ret, "RemoveFontResourceEx() error %d\n", GetLastError()); ret = is_truetype_font_installed("wine_test"); -- 2.11.4.GIT