diff --git a/src/musikcube/cursespp/InputOverlay.cpp b/src/musikcube/cursespp/InputOverlay.cpp index c026165ad..7e769e41d 100644 --- a/src/musikcube/cursespp/InputOverlay.cpp +++ b/src/musikcube/cursespp/InputOverlay.cpp @@ -181,7 +181,7 @@ void InputOverlay::Redraw() { if (this->title.size()) { wmove(c, 0, 1); wattron(c, A_BOLD); - checked_wprintw(c, text::Ellipsize(this->title, this->width - 4).c_str()); + checked_wprintw(c, text::Align(this->title, text::AlignCenter, this->width - 4).c_str()); wattroff(c, A_BOLD); } } \ No newline at end of file diff --git a/src/musikcube/cursespp/ListOverlay.cpp b/src/musikcube/cursespp/ListOverlay.cpp index 8549c96f9..b21d470df 100644 --- a/src/musikcube/cursespp/ListOverlay.cpp +++ b/src/musikcube/cursespp/ListOverlay.cpp @@ -230,7 +230,7 @@ void ListOverlay::Redraw() { if (this->title.size()) { wmove(c, currentY, currentX); wattron(c, A_BOLD); - checked_wprintw(c, text::Ellipsize(this->title, this->width - 4).c_str()); + checked_wprintw(c, text::Align(this->title, text::AlignCenter, this->width - 4).c_str()); wattroff(c, A_BOLD); currentY += 2; }