(svn r4808) - Fix GetCharacterWidth() change in os2.c missed in r4802.

This commit is contained in:
peter1138 2006-05-09 15:43:40 +00:00
parent afee99ad06
commit 6aa73acb30
1 changed files with 1 additions and 1 deletions

2
os2.c
View File

@ -614,7 +614,7 @@ bool InsertTextBufferClipboard(Textbuf *tb)
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;