diff options
author | wl <wl> | 2008-01-16 06:41:39 +0000 |
---|---|---|
committer | wl <wl> | 2008-01-16 06:41:39 +0000 |
commit | 107782b8de0b800b2a110ea861e6b624ba57c68c (patch) | |
tree | 484fd736570aab4aa65434b8d89528f056bfdaed /src/libs | |
parent | 5833a9b8f526dd5ebd02ff6a1ac6810bb7ec22c4 (diff) | |
download | groff-107782b8de0b800b2a110ea861e6b624ba57c68c.tar.gz |
name_to_glyph() exists two times. Explain this.
Diffstat (limited to 'src/libs')
-rw-r--r-- | src/libs/libgroff/nametoindex.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libs/libgroff/nametoindex.cpp b/src/libs/libgroff/nametoindex.cpp index 2dfe079d..ea69d9e8 100644 --- a/src/libs/libgroff/nametoindex.cpp +++ b/src/libs/libgroff/nametoindex.cpp @@ -1,5 +1,6 @@ // -*- C++ -*- -/* Copyright (C) 1989, 1990, 1991, 1992, 2000, 2001, 2002, 2003, 2004, 2006 +/* Copyright (C) 1989, 1990, 1991, 1992, 2000, 2001, 2002, 2003, 2004, 2006, + 2008 Free Software Foundation, Inc. Written by James Clark (jjc@jclark.com) @@ -145,6 +146,8 @@ glyph *number_to_glyph(int n) return indexer.numbered_char_glyph(n); } +// troff overrides this function with its own version. + glyph *name_to_glyph(const char *s) { assert(s != 0 && s[0] != '\0' && s[0] != ' '); |