winedos: Compare HRESULT value explicitly against S_OK instead of using an implicit != 0 comparison.
diff --git a/dlls/winedos/vga.c b/dlls/winedos/vga.c index 288f867..96cadb9 100644 --- a/dlls/winedos/vga.c +++ b/dlls/winedos/vga.c
@@ -459,7 +459,8 @@ lpddraw=NULL; return; } - if ((res=IDirectDrawPalette_SetEntries(lpddpal,0,0,256,vga_def_palette))) { + res=IDirectDrawPalette_SetEntries(lpddpal,0,0,256,vga_def_palette); + if (res != S_OK) { ERR("Could not set default palette entries (res = 0x%x)\n", res); }