[vlc-devel] commit: Variable choice names are in psz_string, not var.psz_name ( Rémi Denis-Courmont )

git version control git at videolan.org
Sat Feb 13 17:33:33 CET 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Feb 13 18:17:44 2010 +0200| [457f6a7e92f9f22a6c76a7c724cdc61e8a9bf139] | committer: Rémi Denis-Courmont 

Variable choice names are in psz_string, not var.psz_name

(Fortunately, both corresponded to the same location.)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=457f6a7e92f9f22a6c76a7c724cdc61e8a9bf139
---

 modules/control/hotkeys.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/control/hotkeys.c b/modules/control/hotkeys.c
index 801abe6..0d77fab 100644
--- a/modules/control/hotkeys.c
+++ b/modules/control/hotkeys.c
@@ -654,7 +654,7 @@ static int PutAction( intf_thread_t *p_intf, int i_action )
                                   val_list.p_list->p_values[i].f_float );
                     vout_OSDMessage( VLC_OBJECT(p_input), DEFAULT_CHAN,
                                      _("Zoom mode: %s"),
-                                text_list.p_list->p_values[i].var.psz_name );
+                                text_list.p_list->p_values[i].psz_string );
 
                     var_FreeList( &val_list, &text_list );
                 }




More information about the vlc-devel mailing list