gdiplus: Initialize variables in the graphics test.

oldstable
Lei Zhang 2008-04-21 16:08:47 -07:00 committed by Alexandre Julliard
parent 92a8beb7cf
commit 9c9209ac0b
1 changed files with 1 additions and 0 deletions

View File

@ -99,6 +99,7 @@ static void test_save_restore(void)
GpGraphics *graphics1, *graphics2;
node * state_log = NULL;
HDC hdc = GetDC(0);
state_a = state_b = state_c = 0xdeadbeef;
/* Invalid saving. */
GdipCreateFromHDC(hdc, &graphics1);