From cf6db6f4ddaf8a02ee1336e9b04200e436d9f60f Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Mon, 30 Oct 2017 10:50:25 +0100 Subject: [PATCH] added missing option for menu draw offset for (empty) title info screen --- src/conf_gfx.c | 2 ++ src/screens.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/conf_gfx.c b/src/conf_gfx.c index 66b90650..152769ff 100644 --- a/src/conf_gfx.c +++ b/src/conf_gfx.c @@ -7705,6 +7705,8 @@ struct ConfigInfo image_config[] = { "menu.draw_yoffset.EDITOR", "0" }, { "menu.draw_xoffset.INFO", "0" }, { "menu.draw_yoffset.INFO", "0" }, + { "menu.draw_xoffset.INFO[TITLE]", "0" }, + { "menu.draw_yoffset.INFO[TITLE]", "0" }, { "menu.draw_xoffset.INFO[ELEMENTS]", "0" }, { "menu.draw_yoffset.INFO[ELEMENTS]", "0" }, { "menu.draw_xoffset.INFO[MUSIC]", "0" }, diff --git a/src/screens.c b/src/screens.c index c35cd84d..2114c845 100644 --- a/src/screens.c +++ b/src/screens.c @@ -421,7 +421,7 @@ static struct GAME_MODE_MAIN : GAME_MODE_DEFAULT) /* (there are no draw offset definitions needed for INFO_MODE_TITLE) */ -#define DRAW_MODE_INFO(i) ((i) >= INFO_MODE_ELEMENTS && \ +#define DRAW_MODE_INFO(i) ((i) >= INFO_MODE_TITLE && \ (i) <= INFO_MODE_LEVELSET ? (i) : \ INFO_MODE_MAIN) -- 2.34.1