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
68d5d8e9
Commit
68d5d8e9
authored
Jan 08, 2009
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jan 08, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winecfg: Remove superfluous casts.
parent
fd0546bb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
theme.c
programs/winecfg/theme.c
+3
-3
No files found.
programs/winecfg/theme.c
View file @
68d5d8e9
...
...
@@ -116,7 +116,7 @@ static void color_or_size_dsa_add (WrappedDsa* wdsa, const WCHAR* name,
static
int
CALLBACK
dsa_destroy_callback
(
LPVOID
p
,
LPVOID
pData
)
{
ThemeColorOrSize
*
item
=
(
ThemeColorOrSize
*
)
p
;
ThemeColorOrSize
*
item
=
p
;
HeapFree
(
GetProcessHeap
(),
0
,
item
->
name
);
HeapFree
(
GetProcessHeap
(),
0
,
item
->
fancyName
);
return
1
;
...
...
@@ -135,7 +135,7 @@ static void create_color_or_size_dsa (WrappedDsa* wdsa)
static
ThemeColorOrSize
*
color_or_size_dsa_get
(
WrappedDsa
*
wdsa
,
int
index
)
{
return
(
ThemeColorOrSize
*
)
DSA_GetItemPtr
(
wdsa
->
dsa
,
index
);
return
DSA_GetItemPtr
(
wdsa
->
dsa
,
index
);
}
static
int
color_or_size_dsa_find
(
WrappedDsa
*
wdsa
,
const
WCHAR
*
name
)
...
...
@@ -163,7 +163,7 @@ static int themeFilesCount = 0;
static
int
CALLBACK
theme_dsa_destroy_callback
(
LPVOID
p
,
LPVOID
pData
)
{
ThemeFile
*
item
=
(
ThemeFile
*
)
p
;
ThemeFile
*
item
=
p
;
HeapFree
(
GetProcessHeap
(),
0
,
item
->
themeFileName
);
HeapFree
(
GetProcessHeap
(),
0
,
item
->
fancyName
);
free_color_or_size_dsa
(
&
item
->
colors
);
...
...
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