winedos: Fix the type of res in VGA_DoSetMode.

Rob Shearman robertshearman at
Fri Sep 12 07:01:09 CDT 2008

It should be HRESULT instead of LRESULT.

Add explicit "!= S_OK" to expressions that use HRESULTs as booleans.
 dlls/winedos/vga.c |   25 ++++++++++++++-----------
 1 files changed, 14 insertions(+), 11 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 14da0e012669c81fc0126f19fdf5c05bbeec8328.diff
Type: text/x-patch
Size: 3345 bytes
Desc: not available
Url : 

More information about the wine-patches mailing list