Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
efea0aa7
Commit
efea0aa7
authored
Jan 03, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
0 has to be a legal value for vlc_key_t
parent
c766d434
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
include/vlc_keys.h
include/vlc_keys.h
+2
-1
src/misc/action.c
src/misc/action.c
+1
-1
No files found.
include/vlc_keys.h
View file @
efea0aa7
...
...
@@ -90,7 +90,8 @@ VLC_EXPORT( char *, KeyToString, (uint_fast32_t i_key) ) LIBVLC_USED;
VLC_EXPORT
(
uint_fast32_t
,
StringToKey
,
(
char
*
psz_key
)
)
LIBVLC_USED
;
typedef
enum
vlc_key
{
ACTIONID_QUIT
=
1
,
ACTIONID_NONE
=
0
,
ACTIONID_QUIT
,
ACTIONID_PLAY_PAUSE
,
ACTIONID_PLAY
,
ACTIONID_PAUSE
,
...
...
src/misc/action.c
View file @
efea0aa7
...
...
@@ -59,6 +59,6 @@ vlc_key_t vlc_GetActionId(const char *name)
act
=
bsearch
(
name
,
libvlc_actions
,
libvlc_actions_count
,
sizeof
(
*
act
),
actcmp
);
return
(
act
!=
NULL
)
?
act
->
value
:
0
;
return
(
act
!=
NULL
)
?
act
->
value
:
ACTIONID_NONE
;
}
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