From 492ea13ef6c3664efe5ec6754d8d10abf93c66d8 Mon Sep 17 00:00:00 2001 From: Dylan G Date: Sat, 30 Sep 2017 02:00:00 +0100 Subject: [PATCH] Fixing a bad fix of mine '_>' --- source/draw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/draw.c b/source/draw.c index 82eec3d..825f63d 100644 --- a/source/draw.c +++ b/source/draw.c @@ -194,8 +194,8 @@ void draw_theme_interface(Theme_s * themes_list, int theme_count, int selected_t utf16_to_utf32((u32*)author, current_theme.author, 0x40); pp2d_draw_text(20, 50, 0.5, 0.5, COLOR_WHITE, "By: "); pp2d_draw_wtext_wrap(44, 50, 0.5, 0.5, COLOR_WHITE, 380, author); - wchar_t description[0xa6] = {0}; - utf16_to_utf32((u32*)description, current_theme.desc, 0xb0); + wchar_t description[0x80] = {0}; + utf16_to_utf32((u32*)description, current_theme.desc, 0x80); pp2d_draw_wtext_wrap(20, 65, 0.5, 0.5, COLOR_WHITE, 363, description); pp2d_draw_wtext(20, 150, 0.6, 0.6, COLOR_WHITE, L"\uE046 Install Shuffle Theme");