Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
7bcf380e
Commit
7bcf380e
authored
Dec 21, 2004
by
gbazin
Browse files
* modules/gui/wxwindows/interface.cpp: fixed hotkeys with modifiers on win32.
parent
b070df41
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/gui/wxwindows/interface.cpp
View file @
7bcf380e
...
...
@@ -578,8 +578,14 @@ void Interface::SetupHotkeys()
/* Setup the hotkeys as accelerators */
for
(
int
i
=
0
;
i
<
i_hotkeys
;
i
++
)
{
p_entries
[
i
].
Set
(
ConvertHotkeyModifiers
(
p_hotkeys
[
i
].
i_key
),
ConvertHotkey
(
p_hotkeys
[
i
].
i_key
),
int
i_mod
=
ConvertHotkeyModifiers
(
p_hotkeys
[
i
].
i_key
);
int
i_key
=
ConvertHotkey
(
p_hotkeys
[
i
].
i_key
);
#ifdef WIN32
if
(
i_mod
)
i_key
=
toupper
(
i_key
);
#endif
p_entries
[
i
].
Set
(
i_mod
,
i_key
,
p_intf
->
p_sys
->
i_first_hotkey_event
+
i
);
}
...
...
Write
Preview
Supports
Markdown
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