Re: gdi32/tests: Remove variable oldPen which is not really used from test_widenpath.

2010-05-14 Thread Gerald Pfeifer
On Sun, 9 May 2010, Vitaliy Margolen wrote: > On 05/07/2010 01:06 PM, Gerald Pfeifer wrote: >> -oldPen = SelectObject(hdc, greenPen); >> +SelectObject(hdc, greenPen); > If it's not used it's a bug. Everything should be reset to original > state to prevent influence on following tests. Ther

Re: gdi32/tests: Remove variable oldPen which is not really used from test_widenpath.

2010-05-09 Thread Vitaliy Margolen
On 05/07/2010 01:06 PM, Gerald Pfeifer wrote: > -oldPen = SelectObject(hdc, greenPen); > +SelectObject(hdc, greenPen); If it's not used it's a bug. Everything should be reset to original state to prevent influence on following tests. There are number of such places in Wine's test suite that