author | peter1138 |
Tue, 09 May 2006 15:43:40 +0000 | |
changeset 3800 | 6ea101b2464b |
parent 3799 | 7f989f09828d |
child 3801 | 866d8cb1d707 |
--- a/os2.c Tue May 09 15:36:48 2006 +0000 +++ b/os2.c Tue May 09 15:43:40 2006 +0000 @@ -614,7 +614,7 @@ if (tb->length + length >= tb->maxlength - 1) break; - w = GetCharacterWidth((byte)*i); + w = GetCharacterWidth(FS_NORMAL, (byte)*i); if (tb->maxwidth != 0 && width + tb->width + w > tb->maxwidth) break; width += w;