From cda630441a2edf82ebedc0148b98ba83ab05293d Mon Sep 17 00:00:00 2001 From: Yoann Peronneau Date: Sat, 29 May 2004 17:47:30 +0000 Subject: [PATCH] * modules/gui/ncurses.c: Fixed a bug due to the new 'Volume' line. --- modules/gui/ncurses.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/modules/gui/ncurses.c b/modules/gui/ncurses.c index d691e11959..2d61ec761d 100644 --- a/modules/gui/ncurses.c +++ b/modules/gui/ncurses.c @@ -957,6 +957,7 @@ static void Redraw ( intf_thread_t *p_intf, time_t *t_last_refresh ) mvnprintw( y++, 0, COLS, "Source: " ); DrawEmptyLine( p_sys->w, y++, 0, COLS ); DrawEmptyLine( p_sys->w, y++, 0, COLS ); + DrawEmptyLine( p_sys->w, y++, 0, COLS ); } DrawBox( p_sys->w, y, 0, 3, COLS, "" ); @@ -1192,27 +1193,27 @@ 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, 6, 1, COLS-2 ); + DrawEmptyLine( p_sys->w, 7, 1, COLS-2 ); if( p_sys->psz_search_chain ) { if( strlen( p_sys->psz_search_chain ) == 0 && p_sys->psz_old_search != NULL ) { /* Searching next entry */ - mvnprintw( 6, 1, COLS-2, "Find: %s", p_sys->psz_old_search ); + mvnprintw( 7, 1, COLS-2, "Find: %s", p_sys->psz_old_search ); } else { - mvnprintw( 6, 1, COLS-2, "Find: %s", p_sys->psz_search_chain ); + mvnprintw( 7, 1, COLS-2, "Find: %s", p_sys->psz_search_chain ); } } } if( p_sys->i_box_type == BOX_OPEN ) { - DrawEmptyLine( p_sys->w, 6, 1, COLS-2 ); if( p_sys->psz_open_chain ) { - mvnprintw( 6, 1, COLS-2, "Open: %s", p_sys->psz_open_chain ); + DrawEmptyLine( p_sys->w, 7, 1, COLS-2 ); + mvnprintw( 7, 1, COLS-2, "Open: %s", p_sys->psz_open_chain ); } } -- 2.20.1