summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwlemb <wlemb>2001-02-28 09:28:53 +0000
committerwlemb <wlemb>2001-02-28 09:28:53 +0000
commit1e0e78a27c812816b2c0eb7580678377f060d947 (patch)
treeff3759df1c4a86084824a2b7492f90d15a0be129
parentcea57dcc551ec4ff6f90eb5be07739194f740ee5 (diff)
downloadgroff-1e0e78a27c812816b2c0eb7580678377f060d947.tar.gz
* src/libs/libgroff/font.cc (font_widths_cache): Fixing syntax of
constructor. * doc/meref.me: Fixing some typos.
-rw-r--r--ChangeLog9
-rw-r--r--doc/meref.me4
-rw-r--r--src/libs/libgroff/font.cc4
3 files changed, 13 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index bbb2514f..6edcf6b1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2001-02-28 Bram <bram@avontuur.org>
+
+ * src/libs/libgroff/font.cc (font_widths_cache): Fixing syntax of
+ constructor.
+
+2001-02-26 David Leonard <david.leonard@csee.uq.edu.au>
+
+ * doc/meref.me: Fixing some typos.
+
2001-02-16 Werner LEMBERG <wl@gnu.org>
* src/roff/troff/node.cc (space_node::get_hyphenation_type): New
diff --git a/doc/meref.me b/doc/meref.me
index 445fcd77..e99bfd07 100644
--- a/doc/meref.me
+++ b/doc/meref.me
@@ -1271,7 +1271,7 @@ is spread or broken (including hyphenated).
In other words,
it is safe in nofill mode only.
.TL
-.b sm
+.b .sm
.i W
.i X
.DE
@@ -2021,7 +2021,7 @@ NAME TYPE DESCRIPTION
\e0 F\(sc unpaddable digit-width space
\&.1c M revert to single column output
\&.2c M begin two column output
-\e*: S umlat
+\e*: S umlaut
\e*< S begin subscript
\e*> S end subscript
\&.EN M end equation
diff --git a/src/libs/libgroff/font.cc b/src/libs/libgroff/font.cc
index 8e1b97dc..6cdd6479 100644
--- a/src/libs/libgroff/font.cc
+++ b/src/libs/libgroff/font.cc
@@ -58,7 +58,7 @@ struct font_widths_cache {
int point_size;
int *width;
- font_widths_cache(int, int, font_widths_cache *);
+ font_widths_cache(int, int, font_widths_cache * = 0);
~font_widths_cache();
};
@@ -222,7 +222,7 @@ int font::is_special()
}
font_widths_cache::font_widths_cache(int ps, int ch_size,
- font_widths_cache *p = 0)
+ font_widths_cache *p)
: next(p), point_size(ps)
{
width = new int[ch_size];