Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ endif
# On some distros, you might have to change this to ncursesw
LIBS += $(shell pkg-config --libs ncursesw 2>/dev/null || \
shell pkg-config --libs ncurses 2>/dev/null || \
echo "-lncurses")
echo "-lncursesw")

.PHONY: all clean install man dist

Expand Down
Binary file added screenshots/radeontop_ru_utf-8_fixed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions ui.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ static void printcenter(const unsigned int y, const unsigned int width,
va_start(ap, fmt);

#ifdef ENABLE_NLS
setlocale(LC_ALL, "");
vasprintf(&ptr, fmt, ap);
const unsigned int len = mbstowcs(NULL, ptr, 0);
#else
Expand Down