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

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
peter1138 18 years ago
parent afee99ad06
commit 6aa73acb30

@ -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;

Loading…
Cancel
Save