diff options
author | Bertrand Augereau | 2011-11-28 18:14:19 +0100 |
---|---|---|
committer | Bertrand Augereau | 2011-11-28 18:34:47 +0100 |
commit | 5b44ff36179156bafa5a1639a6f87a0568b28000 (patch) | |
tree | 5050df611d7484d678d9a3d70b9d2fa2a1224975 | |
parent | 23aa97f3b801868b55244ce6799a36869b04c913 (diff) | |
download | scummvm-rg350-5b44ff36179156bafa5a1639a6f87a0568b28000.tar.gz scummvm-rg350-5b44ff36179156bafa5a1639a6f87a0568b28000.tar.bz2 scummvm-rg350-5b44ff36179156bafa5a1639a6f87a0568b28000.zip |
DREAMWEB: Small cleanup in 'showleftpage' and 'showrightpage'
-rw-r--r-- | engines/dreamweb/stubs.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/dreamweb/stubs.cpp b/engines/dreamweb/stubs.cpp index 9c81f9535b..e2cf11119d 100644 --- a/engines/dreamweb/stubs.cpp +++ b/engines/dreamweb/stubs.cpp @@ -2354,7 +2354,7 @@ void DreamGenContext::showleftpage() { data.word(kCharshift) = 91; data.byte(kKerning) = 1; uint8 pageIndex = data.byte(kFolderpage) - 2; - uint16 offset = segRef(data.word(kTextfile1)).word(pageIndex * 4) + 66*2; + uint16 offset = segRef(data.word(kTextfile1)).word(pageIndex * 4) + kTextstart; const uint8 *string = segRef(data.word(kTextfile1)).ptr(offset, 0); y = 48; for (size_t i = 0; i < 2; ++i) { @@ -2388,7 +2388,7 @@ void DreamGenContext::showrightpage() { data.word(kLinespacing) = 8; data.byte(kKerning) = 1; uint8 pageIndex = data.byte(kFolderpage) - 1; - uint16 offset = segRef(data.word(kTextfile1)).word(pageIndex * 4) + 66*2; + uint16 offset = segRef(data.word(kTextfile1)).word(pageIndex * 4) + kTextstart; const uint8 *string = segRef(data.word(kTextfile1)).ptr(offset, 0); y = 48; for (size_t i = 0; i < 2; ++i) { |