From 61ba262a0f030de5e874c0b2d53c7fca8be51c5e Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Sat, 12 Sep 2015 23:02:39 +0200 Subject: window: revert to the old operator<<(char) as new causes problems --- src/window.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/window.cpp b/src/window.cpp index f67c02a8..c50e435d 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -1338,8 +1338,9 @@ Window &Window::operator<<(const char *s) Window &Window::operator<<(char c) { - // waddchr doesn't display non-ascii multibyte characters properly - waddnstr(m_window, &c, 1); + // the following causes problems: https://github.com/arybczak/ncmpcpp/issues/21 + // waddnstr(m_window, &c, 1); + wprintw(m_window, "%c", c); return *this; } -- cgit v1.2.3