summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2004-04-22 17:47:28 +0000
committerSimon Tatham <anakin@pobox.com>2004-04-22 17:47:28 +0000
commit3e7ac03ca71c9b93c73fa58fd1de9a2042ec13d7 (patch)
tree6e01e5ddf83e8430bf84daa7a1af625a1c44e274 /Makefile
parentc097d194c02212f642af2b2be68a0b8aa3ee17c0 (diff)
downloadhalibut-3e7ac03ca71c9b93c73fa58fd1de9a2042ec13d7.zip
halibut-3e7ac03ca71c9b93c73fa58fd1de9a2042ec13d7.tar.gz
halibut-3e7ac03ca71c9b93c73fa58fd1de9a2042ec13d7.tar.bz2
halibut-3e7ac03ca71c9b93c73fa58fd1de9a2042ec13d7.tar.xz
bk_text and bk_info both need to know the on-screen width of
characters in order to wrap and align them properly. Therefore, they should be using wcwidth(). So here are a couple of wrappers on wcwidth(), one which filters out the Unicode characters not representable in the target charset, and one which converts _from_ a charset to Unicode before calling wcwidth(). bk_text and bk_info should now align correctly even in the face of unsupported characters and Japanese. [originally from svn r4116]
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 97debc8..719e9b4 100644
--- a/Makefile
+++ b/Makefile
@@ -111,7 +111,7 @@ include $(LIBCHARSET_SRCDIR)Makefile
MODULES := main malloc ustring error help licence version misc tree234
MODULES += input keywords contents index style biblio
MODULES += bk_text bk_xhtml bk_whlp bk_man bk_info bk_paper bk_ps bk_pdf
-MODULES += winhelp psdata
+MODULES += winhelp psdata wcwidth
OBJECTS := $(addsuffix .o,$(MODULES)) $(LIBCHARSET_OBJS)
DEPS := $(addsuffix .d,$(MODULES))