[vlc-commits] commit: ncurses: fix search string display ( Rafaël Carré )

git at videolan.org git at videolan.org
Tue Oct 26 16:01:01 CEST 2010


vlc | branch: master | Rafaël Carré <rafael.carre at gmail.com> | Tue Oct 26 16:00:07 2010 +0200| [db8c66ceb1d9b3f374b19572cbed4739a3369ea5] | committer: Rafaël Carré 

ncurses: fix search string display

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

 modules/gui/ncurses.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/ncurses.c b/modules/gui/ncurses.c
index 7087fc5..b4444eb 100644
--- a/modules/gui/ncurses.c
+++ b/modules/gui/ncurses.c
@@ -1316,8 +1316,8 @@ static void Redraw(intf_thread_t *p_intf, time_t *t_last_refresh)
     if (p_sys->i_box_type == BOX_SEARCH)
     {
         DrawEmptyLine(p_sys->w, 7, 1, COLS-2);
-        mvnprintw(7, 1, COLS-2, _("Find: %s"), *p_sys->psz_search_chain ?
-                  p_sys->psz_search_chain : p_sys->psz_old_search);
+        mvnprintw(7, 1, COLS-2, _("Find: %s"), p_sys->psz_old_search ?
+                  p_sys->psz_old_search : p_sys->psz_search_chain);
     }
     if (p_sys->i_box_type == BOX_OPEN)
     {



More information about the vlc-commits mailing list