| author | peter1138 |
| Tue, 09 May 2006 15:43:40 +0000 | |
| changeset 3800 | 75a58f751bfe |
| parent 3799 | 9f98e3d5eb88 |
| child 3801 | 4307270e7100 |
--- 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;