From 60fd1db9c55dca4871ab0cadee44cbe7ead1326b Mon Sep 17 00:00:00 2001 From: Vincent Hamm Date: Wed, 13 Feb 2002 07:02:49 +0000 Subject: fixed the overlapping text svn-id: r3572 --- string.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; } -- cgit v1.2.3