aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--string.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/string.cpp b/string.cpp
index f276155dc3..99574cc054 100644
--- a/string.cpp
+++ b/string.cpp
@@ -310,7 +310,10 @@ newLine:;
if (charset._center) {
charset._xpos2 -= charset.getStringWidth(0, buffer, 0)>>1;
}
- charset._ypos2 += getResourceAddress(rtCharset,charset._curId)[30];
+ if(_features & GF_SMALL_HEADER)
+ charset._ypos2 += getResourceAddress(rtCharset,charset._curId)[18];
+ else
+ charset._ypos2 += getResourceAddress(rtCharset,charset._curId)[30];
charset._disableOffsX = 1;
continue;
}