Commit ca96e046 authored by Sven Baars's avatar Sven Baars Committed by Alexandre Julliard

gdi32/tests: Fix a compiler warning.

parent c8eae716
......@@ -1330,17 +1330,16 @@ static void test_GetCharABCWidths(void)
memset(&lf, 0, sizeof(lf));
lf.lfHeight = 20;
switch(i)
if (i == 1)
{
case 1:
strcpy(lf.lfFaceName, "Tahoma");
code = 'a';
break;
case 2:
}
else
{
strcpy(lf.lfFaceName, "Times New Roman");
lf.lfItalic = TRUE;
code = 'f';
break;
}
if (!is_truetype_font_installed(lf.lfFaceName))
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment