summaryrefslogtreecommitdiff
path: root/os2.c
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-05-09 15:43:40 +0000
committerpeter1138 <peter1138@openttd.org>2006-05-09 15:43:40 +0000
commit6aa73acb30bdeb7ae46200104dc087901cc56eb5 (patch)
tree49f76ed9b9a8a1eada477da18b3b6bb15c0558ab /os2.c
parentafee99ad06b9525ad1d45c9cff9741c57816dfa2 (diff)
downloadopenttd-6aa73acb30bdeb7ae46200104dc087901cc56eb5.tar.xz
(svn r4808) - Fix GetCharacterWidth() change in os2.c missed in r4802.
Diffstat (limited to 'os2.c')
-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;