Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
2c37baba
Commit
2c37baba
authored
Oct 01, 2008
by
Rob Shearman
Committed by
Alexandre Julliard
Oct 01, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedos: Compare HRESULT value explicitly against S_OK instead of using an…
winedos: Compare HRESULT value explicitly against S_OK instead of using an implicit != 0 comparison.
parent
d31ce9ae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
vga.c
dlls/winedos/vga.c
+2
-1
No files found.
dlls/winedos/vga.c
View file @
2c37baba
...
@@ -459,7 +459,8 @@ static void WINAPI VGA_DoSetMode(ULONG_PTR arg)
...
@@ -459,7 +459,8 @@ static void WINAPI VGA_DoSetMode(ULONG_PTR arg)
lpddraw
=
NULL
;
lpddraw
=
NULL
;
return
;
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
);
ERR
(
"Could not set default palette entries (res = 0x%x)
\n
"
,
res
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment