From d076194d26ea190ac46b8d6dd6ca46039d661e09 Mon Sep 17 00:00:00 2001 From: d0k3 Date: Mon, 23 Apr 2018 01:11:00 +0200 Subject: [PATCH] Fix #351 --- arm9/source/godmode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arm9/source/godmode.c b/arm9/source/godmode.c index 148e796..cc6de65 100644 --- a/arm9/source/godmode.c +++ b/arm9/source/godmode.c @@ -324,7 +324,7 @@ void DrawDirContents(DirStruct* contents, u32 cursor, u32* scroll) { snprintf(tempstr, str_width + 1, "%s%10.10s", namestr, (curr_entry->type == T_DIR) ? "(dir)" : (curr_entry->type == T_DOTDOT) ? "(..)" : bytestr); } else snprintf(tempstr, str_width + 1, "%-*.*s", str_width, str_width, ""); - DrawStringF(ALT_SCREEN, pos_x, pos_y, color_font, COLOR_STD_BG, tempstr); + DrawStringF(ALT_SCREEN, pos_x, pos_y, color_font, COLOR_STD_BG, "%s", tempstr); pos_y += stp_y; }