From ab12cda49dbdb360d8239bbb9914686bb6b83351 Mon Sep 17 00:00:00 2001 From: Ted John Date: Sat, 10 Sep 2016 22:45:40 +0100 Subject: [PATCH] Remove unnecessary draw string and address --- src/windows/changelog.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/windows/changelog.c b/src/windows/changelog.c index 72e2dfe829..a73863847a 100644 --- a/src/windows/changelog.c +++ b/src/windows/changelog.c @@ -14,12 +14,11 @@ *****************************************************************************/ #pragma endregion -#include "../addresses.h" -#include "../localisation/localisation.h" #include "../interface/themes.h" +#include "../interface/viewport.h" #include "../interface/widget.h" #include "../interface/window.h" -#include "../interface/viewport.h" +#include "../localisation/localisation.h" #include "../openrct2.h" #include "../platform/platform.h" #include "../util/util.h" @@ -193,12 +192,11 @@ static void window_changelog_scrollpaint(rct_window *w, rct_drawpixelinfo *dpi, { gCurrentFontFlags = 0; gCurrentFontSpriteBase = FONT_SPRITE_BASE_MEDIUM; - gfx_draw_string(dpi, RCT2_ADDRESS(0x009C383D, char), 1, dpi->x, dpi->y); int x = 3; int y = 3; for (int i = 0; i < _changelogNumLines; i++) { - gfx_draw_string(dpi, _changelogLines[i], 254, x, y); + gfx_draw_string(dpi, _changelogLines[i], w->colours[0], x, y); y += 11; } }