Skip to content

Commit

Permalink
DREAMWEB: Small cleanup in 'showleftpage' and 'showrightpage'
Browse files Browse the repository at this point in the history
  • Loading branch information
tramboi committed Nov 28, 2011
1 parent 23aa97f commit 5b44ff3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engines/dreamweb/stubs.cpp
Expand Up @@ -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) {
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 5b44ff3

Please sign in to comment.