diff options
author | Joost Peters | 2003-07-05 11:47:15 +0000 |
---|---|---|
committer | Joost Peters | 2003-07-05 11:47:15 +0000 |
commit | 455eb4ea44c82f2e2c5d642b48567fe732d88746 (patch) | |
tree | 8c13ac2a42f1cabb225e716dd986101bb258af79 /sky | |
parent | 04abb69a843da20b3a8a8a3957966ec0f3ca1489 (diff) | |
download | scummvm-rg350-455eb4ea44c82f2e2c5d642b48567fe732d88746.tar.gz scummvm-rg350-455eb4ea44c82f2e2c5d642b48567fe732d88746.tar.bz2 scummvm-rg350-455eb4ea44c82f2e2c5d642b48567fe732d88746.zip |
fix warning
svn-id: r8774
Diffstat (limited to 'sky')
-rw-r--r-- | sky/control.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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++) { |