From b79f0daa5f615e4c8974eaf5a4471b9bfcff5e0c Mon Sep 17 00:00:00 2001 From: Info Teddy Date: Sat, 25 Jan 2020 18:24:04 -0800 Subject: [PATCH] Move y-position assignment into its most intended branch This is a code style fix. --- desktop_version/src/editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop_version/src/editor.cpp b/desktop_version/src/editor.cpp index 8ae9135d..f5794c3e 100644 --- a/desktop_version/src/editor.cpp +++ b/desktop_version/src/editor.cpp @@ -3447,9 +3447,9 @@ void editorrender( KeyPoll& key, Graphics& dwgfx, Game& game, mapclass& map, ent { if(ed.roomnamehide<12) ed.roomnamehide++; } - dwgfx.footerrect.y = 230+ed.roomnamehide; if (dwgfx.translucentroomname) { + dwgfx.footerrect.y = 230+ed.roomnamehide; SDL_BlitSurface(dwgfx.footerbuffer, NULL, dwgfx.backBuffer, &dwgfx.footerrect); } else