From 455eb4ea44c82f2e2c5d642b48567fe732d88746 Mon Sep 17 00:00:00 2001 From: Joost Peters Date: Sat, 5 Jul 2003 11:47:15 +0000 Subject: fix warning svn-id: r8774 --- sky/control.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sky/control.cpp') diff --git a/sky/control.cpp b/sky/control.cpp index 3d52ce672e..4738c93bbf 100644 --- a/sky/control.cpp +++ b/sky/control.cpp @@ -810,10 +810,11 @@ void SkyControl::handleKeyPress(uint8 key, uint8 *textBuf) { void SkyControl::setUpGameSprites(uint8 *nameBuf, dataFileHeader **nameSprites, uint16 firstNum, uint16 selectedGame) { + char cursorChar[2] = "-"; nameBuf += firstNum * MAX_TEXT_LEN; displayText_t textSpr; if (!nameSprites[MAX_ON_SCREEN]) { - textSpr = _skyText->displayText("-", NULL, false, 15, 0); + textSpr = _skyText->displayText(cursorChar, NULL, false, 15, 0); nameSprites[MAX_ON_SCREEN] = (dataFileHeader*)textSpr.textData; } for (uint16 cnt = 0; cnt < MAX_ON_SCREEN; cnt++) { -- cgit v1.2.3