Commit b12d3db7 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Cosmetic fixes

parent 8e2481d3
...@@ -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 );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment