Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
c574f41b
Commit
c574f41b
authored
Aug 13, 2010
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Win32 globalhotkeys: kill warnings
parent
cabb3742
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
modules/control/globalhotkeys/win32.c
modules/control/globalhotkeys/win32.c
+3
-3
No files found.
modules/control/globalhotkeys/win32.c
View file @
c574f41b
...
@@ -168,7 +168,7 @@ static void *Thread( void *p_data )
...
@@ -168,7 +168,7 @@ static void *Thread( void *p_data )
(
LONG_PTR
)
p_intf
);
(
LONG_PTR
)
p_intf
);
/* Registering of Hotkeys */
/* Registering of Hotkeys */
for
(
struct
hotkey
*
p_hotkey
=
p_intf
->
p_libvlc
->
p_hotkeys
;
for
(
const
struct
hotkey
*
p_hotkey
=
p_intf
->
p_libvlc
->
p_hotkeys
;
p_hotkey
->
psz_action
!=
NULL
;
p_hotkey
->
psz_action
!=
NULL
;
p_hotkey
++
)
p_hotkey
++
)
{
{
...
@@ -262,7 +262,7 @@ static void *Thread( void *p_data )
...
@@ -262,7 +262,7 @@ static void *Thread( void *p_data )
DispatchMessage
(
&
message
);
DispatchMessage
(
&
message
);
/* Unregistering of Hotkeys */
/* Unregistering of Hotkeys */
for
(
struct
hotkey
*
p_hotkey
=
p_intf
->
p_libvlc
->
p_hotkeys
;
for
(
const
struct
hotkey
*
p_hotkey
=
p_intf
->
p_libvlc
->
p_hotkeys
;
p_hotkey
->
psz_action
!=
NULL
;
p_hotkey
->
psz_action
!=
NULL
;
p_hotkey
++
)
p_hotkey
++
)
{
{
...
@@ -296,7 +296,7 @@ LRESULT CALLBACK WMHOTKEYPROC( HWND hwnd, UINT uMsg, WPARAM wParam,
...
@@ -296,7 +296,7 @@ LRESULT CALLBACK WMHOTKEYPROC( HWND hwnd, UINT uMsg, WPARAM wParam,
LONG_PTR
ret
=
GetWindowLongPtr
(
hwnd
,
GWLP_USERDATA
);
LONG_PTR
ret
=
GetWindowLongPtr
(
hwnd
,
GWLP_USERDATA
);
intf_thread_t
*
p_intf
=
(
intf_thread_t
*
)
ret
;
intf_thread_t
*
p_intf
=
(
intf_thread_t
*
)
ret
;
struct
hotkey
*
p_hotkeys
=
p_intf
->
p_libvlc
->
p_hotkeys
;
const
struct
hotkey
*
p_hotkeys
=
p_intf
->
p_libvlc
->
p_hotkeys
;
if
(
!
GlobalGetAtomNameA
(
if
(
!
GlobalGetAtomNameA
(
wParam
,
psz_atomName
,
sizeof
(
psz_atomName
)
)
)
wParam
,
psz_atomName
,
sizeof
(
psz_atomName
)
)
)
...
...
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