From a7037dd6ea7e5358cd00afe635fb0eba6dc55fc0 Mon Sep 17 00:00:00 2001 From: Ingo Ruhnke Date: Mon, 26 Apr 2004 15:04:22 +0000 Subject: [PATCH] - fixed miss align in scrolling text SVN-Revision: 753 --- src/text.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/text.cpp b/src/text.cpp index 0b90e03a6..51fe1aeb3 100644 --- a/src/text.cpp +++ b/src/text.cpp @@ -328,11 +328,11 @@ void display_text_file(char *file, Surface* surface) switch(names.item[i][0]) { case ' ': - white_small_text->drawf(names.item[i], 0, 60+screen->h+y-scroll, A_HMIDDLE, A_TOP, 1); + white_small_text->drawf(names.item[i]+1, 0, 60+screen->h+y-scroll, A_HMIDDLE, A_TOP, 1); y += white_small_text->h+ITEMS_SPACE; break; case ' ': - white_text->drawf(names.item[i], 0, 60+screen->h+y-scroll, A_HMIDDLE, A_TOP, 1); + white_text->drawf(names.item[i]+1, 0, 60+screen->h+y-scroll, A_HMIDDLE, A_TOP, 1); y += white_text->h+ITEMS_SPACE; break; case '-': -- 2.11.0