(XDK360) Fix XUI Output

This commit is contained in:
Swizzy 2015-01-06 14:17:40 +01:00
parent 6dce86f9bb
commit 3c9e888e4c

View File

@ -399,9 +399,9 @@ static void rmenu_xui_render(void)
snprintf(title_msg, sizeof(title_msg), "%s - %s %s", snprintf(title_msg, sizeof(title_msg), "%s - %s %s",
PACKAGE_VERSION, core_name, core_version); PACKAGE_VERSION, core_name, core_version);
blit_line(RXUI_TERM_START_X + 15,
(RXUI_TERM_HEIGHT * FONT_HEIGHT_STRIDE) + RXUI_TERM_START_Y + 2, mbstowcs(strw_buffer, title_msg, sizeof(strw_buffer) / sizeof(wchar_t));
title_msg, true); XuiTextElementSetText(m_menutitlebottom, strw_buffer);
unsigned x, y; unsigned x, y;
size_t i; size_t i;
@ -437,8 +437,8 @@ static void rmenu_xui_render(void)
#endif #endif
snprintf(message, sizeof(message), "%s : %s", snprintf(message, sizeof(message), "%s : %s",
entry_title_buf, type_str,
type_str_buf); path_buf);
wchar_t msg_w[256]; wchar_t msg_w[256];
mbstowcs(msg_w, message, sizeof(msg_w) / sizeof(wchar_t)); mbstowcs(msg_w, message, sizeof(msg_w) / sizeof(wchar_t));