diff options
author | Filippos Karapetis | 2016-02-27 14:40:33 +0200 |
---|---|---|
committer | Filippos Karapetis | 2016-02-27 14:40:33 +0200 |
commit | 5151ad4d9f566fc94adaf7d9c59d7d49ab3b7bfe (patch) | |
tree | cafd5460fee69e96f447b089c261c2479b9c1d2c /engines | |
parent | 93e99ba30d97e141bedd1b28aa7aac97faa23c0f (diff) | |
download | scummvm-rg350-5151ad4d9f566fc94adaf7d9c59d7d49ab3b7bfe.tar.gz scummvm-rg350-5151ad4d9f566fc94adaf7d9c59d7d49ab3b7bfe.tar.bz2 scummvm-rg350-5151ad4d9f566fc94adaf7d9c59d7d49ab3b7bfe.zip |
SCI: Remove another GK1-related hack
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/graphics/text32.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/engines/sci/graphics/text32.cpp b/engines/sci/graphics/text32.cpp index e0fb56b74b..eabc329ee0 100644 --- a/engines/sci/graphics/text32.cpp +++ b/engines/sci/graphics/text32.cpp @@ -268,11 +268,6 @@ reg_t GfxText32::createTextBitmap(reg_t textObject, uint16 maxWidth, uint16 maxH } reg_t GfxText32::createTextBitmapInternal(Common::String &text, reg_t textObject, uint16 maxWidth, uint16 maxHeight, reg_t prevHunk) { - // HACK: The character offsets of the up and down arrow buttons are off by one - // in GK1, for some unknown reason. Fix them here. - if (text.size() == 1 && (text[0] == 29 || text[0] == 30)) { - text.setChar(text[0] + 1, 0); - } GuiResourceId fontId = readSelectorValue(_segMan, textObject, SELECTOR(font)); GfxFont *font = _cache->getFont(fontId); bool dimmed = readSelectorValue(_segMan, textObject, SELECTOR(dimmed)); |