From 6aa73acb30bdeb7ae46200104dc087901cc56eb5 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Tue, 9 May 2006 15:43:40 +0000 Subject: [PATCH] (svn r4808) - Fix GetCharacterWidth() change in os2.c missed in r4802. --- os2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;