diff --git a/os2.c b/os2.c index aa3aee58c5..fec84bc790 100644 --- a/os2.c +++ b/os2.c @@ -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;