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
b12d3db7
Commit
b12d3db7
authored
Nov 21, 2006
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cosmetic fixes
parent
8e2481d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/misc/configuration.c
src/misc/configuration.c
+3
-3
No files found.
src/misc/configuration.c
View file @
b12d3db7
...
@@ -920,12 +920,12 @@ int __config_LoadConfigFile( vlc_object_t *p_this, const char *psz_module_name )
...
@@ -920,12 +920,12 @@ int __config_LoadConfigFile( vlc_object_t *p_this, const char *psz_module_name )
if
(
p_item
->
psz_value_saved
)
if
(
p_item
->
psz_value_saved
)
free
(
p_item
->
psz_value_saved
);
free
(
p_item
->
psz_value_saved
);
p_item
->
psz_value_saved
=
0
;
p_item
->
psz_value_saved
=
NULL
;
if
(
!
p_item
->
psz_value
||
!
p_item
->
psz_value_orig
||
if
(
!
p_item
->
psz_value
||
!
p_item
->
psz_value_orig
||
(
p_item
->
psz_value
&&
p_item
->
psz_value_orig
&&
(
p_item
->
psz_value
&&
p_item
->
psz_value_orig
&&
strcmp
(
p_item
->
psz_value
,
p_item
->
psz_value_orig
)))
strcmp
(
p_item
->
psz_value
,
p_item
->
psz_value_orig
)))
p_item
->
psz_value_saved
=
p_item
->
psz_value
?
p_item
->
psz_value_saved
=
p_item
->
psz_value
?
strdup
(
p_item
->
psz_value
)
:
0
;
strdup
(
p_item
->
psz_value
)
:
NULL
;
vlc_mutex_unlock
(
p_item
->
p_lock
);
vlc_mutex_unlock
(
p_item
->
p_lock
);
...
@@ -1187,7 +1187,7 @@ static int SaveConfigFile( vlc_object_t *p_this, const char *psz_module_name,
...
@@ -1187,7 +1187,7 @@ static int SaveConfigFile( vlc_object_t *p_this, const char *psz_module_name,
if
(
p_item
->
b_unsaveable
)
if
(
p_item
->
b_unsaveable
)
/*obvious*/
/*obvious*/
continue
;
continue
;
if
(
b_autosave
&&
!
p_item
->
b_autosave
)
if
(
b_autosave
&&
!
p_item
->
b_autosave
)
{
{
i_value
=
p_item
->
i_value_saved
;
i_value
=
p_item
->
i_value_saved
;
...
...
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