Fix previous commit.
authorRémi Duraffort <ivoire@videolan.org>
Tue, 19 May 2009 22:04:30 +0000 (00:04 +0200)
committerRémi Duraffort <ivoire@videolan.org>
Tue, 19 May 2009 22:04:30 +0000 (00:04 +0200)
src/misc/variables.c

index f8bf3d8..52a7f7e 100644 (file)
@@ -624,7 +624,7 @@ int __var_Change( vlc_object_t *p_this, const char *psz_name,
             if( p_val && p_val->psz_string )
                 p_var->psz_text = strdup( p_val->psz_string );
             else
             if( p_val && p_val->psz_string )
                 p_var->psz_text = strdup( p_val->psz_string );
             else
-                p_val->psz_text = NULL;
+                p_var->psz_text = NULL;
             break;
         case VLC_VAR_GETTEXT:
             p_val->psz_string = NULL;
             break;
         case VLC_VAR_GETTEXT:
             p_val->psz_string = NULL;