]> git.sesse.net Git - vlc/commitdiff
Fix bad declaration
authorChristophe Mutricy <xtophe@videolan.org>
Sat, 27 Sep 2008 22:29:59 +0000 (23:29 +0100)
committerChristophe Mutricy <xtophe@videolan.org>
Sat, 27 Sep 2008 22:29:59 +0000 (23:29 +0100)
Not sure how it's called but i guess it would have resulted in crashes or memory corruption

modules/misc/notify/xosd.c

index eb78a162ced9886689d4b94865f807872761a209..b8bd21cc7337398adf6da8e9b35ba03cc6a54627 100644 (file)
@@ -108,7 +108,7 @@ static int Open( vlc_object_t *p_this )
 {
     intf_thread_t *p_intf = (intf_thread_t *)p_this;
     xosd *p_osd;
-    char *psz_font, psz_colour;
+    char *psz_font, *psz_colour;
 
     /* Allocate instance and initialize some members */
     p_intf->p_sys = (intf_sys_t *)malloc( sizeof( intf_sys_t ) );