From 1e229087560a8237f20258b482909dbe15e672e1 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 23 Apr 2013 23:25:05 +0200 Subject: [PATCH] (RGUI) Cleaner rotation label --- frontend/menu/rgui.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/menu/rgui.c b/frontend/menu/rgui.c index 59edd356f9..c65de1fe56 100644 --- a/frontend/menu/rgui.c +++ b/frontend/menu/rgui.c @@ -535,8 +535,8 @@ static void render_text(rgui_handle_t *rgui) strlcpy(type_str, aspectratio_lut[g_settings.video.aspect_ratio_idx].name, sizeof(type_str)); break; case RGUI_SETTINGS_VIDEO_ROTATION: - snprintf(type_str, sizeof(type_str), "Rotation: %s", - rotation_lut[g_extern.console.screen.orientation]); + strlcpy(type_str, rotation_lut[g_extern.console.screen.orientation], + sizeof(type_str)); break; case RGUI_SETTINGS_AUDIO_MUTE: if (g_extern.audio_data.mute)