Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
97fec582
Commit
97fec582
authored
Apr 26, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Submodules do not inherit shortcuts anymore (fix: #2696)
parent
e196e6ec
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/modules/entry.c
src/modules/entry.c
+3
-2
No files found.
src/modules/entry.c
View file @
97fec582
...
@@ -121,8 +121,9 @@ module_t *vlc_submodule_create (module_t *module)
...
@@ -121,8 +121,9 @@ module_t *vlc_submodule_create (module_t *module)
module
->
submodule_count
++
;
module
->
submodule_count
++
;
/* Muahahaha! Heritage! Polymorphism! Ugliness!! */
/* Muahahaha! Heritage! Polymorphism! Ugliness!! */
memcpy
(
submodule
->
pp_shortcuts
,
module
->
pp_shortcuts
,
submodule
->
pp_shortcuts
[
0
]
=
module
->
pp_shortcuts
[
0
];
/* object name */
sizeof
(
submodule
->
pp_shortcuts
));
for
(
unsigned
i
=
1
;
i
<
MODULE_SHORTCUT_MAX
;
i
++
)
submodule
->
pp_shortcuts
[
i
]
=
NULL
;
submodule
->
psz_object_name
=
strdup
(
module
->
psz_object_name
);
submodule
->
psz_object_name
=
strdup
(
module
->
psz_object_name
);
submodule
->
psz_shortname
=
module
->
psz_shortname
;
submodule
->
psz_shortname
=
module
->
psz_shortname
;
...
...
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