diff options
author | peter1138 <peter1138@openttd.org> | 2006-05-09 15:43:40 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-05-09 15:43:40 +0000 |
commit | 6aa73acb30bdeb7ae46200104dc087901cc56eb5 (patch) | |
tree | 49f76ed9b9a8a1eada477da18b3b6bb15c0558ab | |
parent | afee99ad06b9525ad1d45c9cff9741c57816dfa2 (diff) | |
download | openttd-6aa73acb30bdeb7ae46200104dc087901cc56eb5.tar.xz |
(svn r4808) - Fix GetCharacterWidth() change in os2.c missed in r4802.
-rw-r--r-- | os2.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |