summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--os2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os2.c b/os2.c
index aa3aee58c..fec84bc79 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;