aboutsummaryrefslogtreecommitdiff
path: root/sword1
diff options
context:
space:
mode:
authorRobert Göffringmann2003-12-18 12:52:04 +0000
committerRobert Göffringmann2003-12-18 12:52:04 +0000
commit461abf1b9ef136a40ed83142eb062f4debd87b07 (patch)
treee01ee634c4c90f39efea89800e56ef77386e079d /sword1
parent65583e28da225d6fc0e52f5525c0c81fa9e1117a (diff)
downloadscummvm-rg350-461abf1b9ef136a40ed83142eb062f4debd87b07.tar.gz
scummvm-rg350-461abf1b9ef136a40ed83142eb062f4debd87b07.tar.bz2
scummvm-rg350-461abf1b9ef136a40ed83142eb062f4debd87b07.zip
another big endian
svn-id: r11745
Diffstat (limited to 'sword1')
-rw-r--r--sword1/text.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sword1/text.cpp b/sword1/text.cpp
index c0488d0464..d833f6a4ce 100644
--- a/sword1/text.cpp
+++ b/sword1/text.cpp
@@ -155,7 +155,7 @@ uint16 SwordText::copyChar(uint8 ch, uint8 *sprPtr, uint16 sprWidth, uint8 pen)
}
dest += sprWidth;
}
- return chFrame->width;
+ return FROM_LE_16(chFrame->width);
}
FrameHeader *SwordText::giveSpriteData(uint32 textTarget) {