[Super-tux-commit] supertux/src text.cpp,1.12,1.13
Brought to you by:
wkendrick
From: Ingo R. <gr...@us...> - 2004-04-26 15:04:32
|
Update of /cvsroot/super-tux/supertux/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31864/src Modified Files: text.cpp Log Message: - fixed miss align in scrolling text Index: text.cpp =================================================================== RCS file: /cvsroot/super-tux/supertux/src/text.cpp,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- text.cpp 26 Apr 2004 14:15:48 -0000 1.12 +++ text.cpp 26 Apr 2004 15:04:22 -0000 1.13 @@ -328,11 +328,11 @@ 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 '-': |