Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
5054045f
Commit
5054045f
authored
Jul 02, 2003
by
Francois Gouget
Committed by
Alexandre Julliard
Jul 02, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove some unnecessary casts when assigning NULL to handles.
parent
2348e7a0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
imm.c
dlls/imm32/imm.c
+3
-3
winemenubuilder.c
programs/winemenubuilder/winemenubuilder.c
+1
-1
No files found.
dlls/imm32/imm.c
View file @
5054045f
...
...
@@ -46,7 +46,7 @@ typedef struct tagInputContextData
}
InputContextData
;
static
InputContextData
*
root_context
=
NULL
;
static
HWND
hwndDefault
=
(
HWND
)
NULL
;
static
HWND
hwndDefault
=
NULL
;
static
HANDLE
hImeInst
;
static
const
WCHAR
WC_IMECLASSNAME
[]
=
{
'W'
,
'i'
,
'n'
,
'e'
,
'I'
,
'M'
,
'E'
,
'C'
,
'l'
,
'a'
,
's'
,
's'
,
0
};
...
...
@@ -68,7 +68,7 @@ static void IMM_Register(void)
wndClass
.
lpfnWndProc
=
IME_WindowProc
;
wndClass
.
cbClsExtra
=
0
;
wndClass
.
cbWndExtra
=
0
;
wndClass
.
hCursor
=
(
HCURSOR
)
NULL
;
wndClass
.
hCursor
=
NULL
;
wndClass
.
hbrBackground
=
(
HBRUSH
)(
COLOR_WINDOW
+
1
);
wndClass
.
lpszClassName
=
WC_IMECLASSNAME
;
RegisterClassW
(
&
wndClass
);
...
...
@@ -76,7 +76,7 @@ static void IMM_Register(void)
static
void
IMM_Unregister
(
void
)
{
UnregisterClassW
(
WC_IMECLASSNAME
,
(
HINSTANCE
)
NULL
);
UnregisterClassW
(
WC_IMECLASSNAME
,
NULL
);
}
...
...
programs/winemenubuilder/winemenubuilder.c
View file @
5054045f
...
...
@@ -253,7 +253,7 @@ static BOOL ExtractFromEXEDLL(const char *szFileName, int nIndex, const char *sz
}
else
{
hResInfo
=
(
HRSRC
)
NULL
;
hResInfo
=
NULL
;
sEnumRes
.
pResInfo
=
&
hResInfo
;
sEnumRes
.
nIndex
=
nIndex
;
EnumResourceNamesA
(
hModule
,
RT_GROUP_ICONA
,
&
EnumResNameProc
,
(
LONG
)
&
sEnumRes
);
...
...
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