aboutsummaryrefslogtreecommitdiff
path: root/sword1
diff options
context:
space:
mode:
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) {