]> git.sesse.net Git - vlc/commitdiff
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 f8bf3d8e951760f77f82c2bac06fa683677cc079..52a7f7e5897bdf8567fc0b0919a4627172d42093 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
-                p_val->psz_text = NULL;
+                p_var->psz_text = NULL;
             break;
         case VLC_VAR_GETTEXT:
             p_val->psz_string = NULL;