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
f87b96e7
Commit
f87b96e7
authored
Oct 24, 2000
by
Patrik Stridvall
Committed by
Alexandre Julliard
Oct 24, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Explicitly initialize structures.
- Fixed strange code probably caused by a merge conflict.
parent
0282825f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
palette.c
objects/palette.c
+3
-4
No files found.
objects/palette.c
View file @
f87b96e7
...
...
@@ -162,12 +162,11 @@ HPALETTE WINAPI CreateHalftonePalette(
WORD
Version
;
WORD
NumberOfEntries
;
PALETTEENTRY
aEntries
[
256
];
}
Palette
=
{
0x300
,
256
};
}
Palette
;
Palette
.
Version
=
0x300
;
Palette
.
NumberOfEntries
=
256
;
GetSystemPaletteEntries
(
hdc
,
0
,
256
,
Palette
.
aEntries
);
return
CreatePalette
((
LOGPALETTE
*
)
&
Palette
);
for
(
r
=
0
;
r
<
6
;
r
++
)
{
for
(
g
=
0
;
g
<
6
;
g
++
)
{
...
...
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