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
09f98c01
Commit
09f98c01
authored
Sep 23, 2007
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix osdmenu-file-path option
parent
74da71f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
src/osd/osd_parser.c
src/osd/osd_parser.c
+3
-5
No files found.
src/osd/osd_parser.c
View file @
09f98c01
...
@@ -340,13 +340,11 @@ int osd_ConfigLoader( vlc_object_t *p_this, const char *psz_file,
...
@@ -340,13 +340,11 @@ int osd_ConfigLoader( vlc_object_t *p_this, const char *psz_file,
size_t
i_len
=
0
;
size_t
i_len
=
0
;
long
pos
=
0
;
long
pos
=
0
;
result
=
fscanf
(
fd
,
"%24s %255s"
,
&
action
[
0
],
&
path
[
0
]
);
/* override images path ? */
/* override images path ? */
psz_path
=
config_GetPsz
(
p_this
,
"osdmenu-file-path"
);
psz_path
=
config_GetPsz
(
p_this
,
"osdmenu-file-path"
);
if
(
psz_path
==
NULL
)
if
(
psz_path
)
{
result
=
fscanf
(
fd
,
"%24s %255s"
,
&
action
[
0
],
&
path
[
0
]
);
}
else
{
{
/* psz_path is not null and therefor &path[0] cannot be NULL
/* psz_path is not null and therefor &path[0] cannot be NULL
* it might be null terminated.
* it might be null terminated.
...
...
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