From 5890e59dbc90e6ed1ae9ccec173006655895918e Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 21 Aug 2014 22:13:10 +0200 Subject: terminal: some cleanups In particular, remove all the stupid debug printfs from the win code. --- player/osd.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'player/osd.c') diff --git a/player/osd.c b/player/osd.c index e3fe9e1c9b..b7fb841485 100644 --- a/player/osd.c +++ b/player/osd.c @@ -238,8 +238,9 @@ static void print_status(struct MPContext *mpctx) if (opts->term_osd_bar) { saddf(&line, "\n"); - get_screen_size(); - add_term_osd_bar(mpctx, &line, screen_width); + int w = 80, h = 24; + terminal_get_size(&w, &h); + add_term_osd_bar(mpctx, &line, w); } // end -- cgit v1.2.3