wl pushed a commit to branch master
in repository groff.

commit cc67e6f7c6aaed78ffcdac62c736301e189b938d
Author: Werner Lemberg <[email protected]>
Date:   Mon Mar 17 06:48:52 2014 +0100

    * src/preproc/eqn/box.cpp (set_script_size): Fix minimum test.
    
    Problem reported by Ted Harding <[email protected]> in a
    thread starting with
    
      http://lists.gnu.org/archive/html/groff/2014-03/msg00181.html
---
 ChangeLog               |    9 +++++++++
 src/preproc/eqn/box.cpp |    4 ++--
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 3c99bfb..00a1c69 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2014-03-17  Werner Lemberg  <[email protected]>
+
+       * src/preproc/eqn/box.cpp (set_script_size): Fix minimum test.
+
+       Problem reported by Ted Harding <[email protected]> in a
+       thread starting with
+
+         http://lists.gnu.org/archive/html/groff/2014-03/msg00181.html
+
 2014-03-16  Werner Lemberg  <[email protected]>
 
        Fix previous commit.
diff --git a/src/preproc/eqn/box.cpp b/src/preproc/eqn/box.cpp
index 5feba59..7e580b4 100644
--- a/src/preproc/eqn/box.cpp
+++ b/src/preproc/eqn/box.cpp
@@ -1,5 +1,5 @@
 // -*- C++ -*-
-/* Copyright (C) 1989, 1990, 1991, 1992, 2002, 2004, 2007, 2009
+/* Copyright (C) 1989-1992, 2002, 2004, 2007, 2009, 2014
    Free Software Foundation, Inc.
      Written by James Clark ([email protected])
 
@@ -272,7 +272,7 @@ void set_script_size()
   if (script_size_reduction >= 0)
     printf(".ps \\n[.s]-%d>?%d\n", script_size_reduction, minimum_size);
   else
-    printf(".ps (u;\\n[.ps]*7+5/10>?%d)\n", minimum_size);
+    printf(".ps (u;\\n[.ps]*7+5/10>?%dz)\n", minimum_size);
 }
 
 int box::next_uid = 0;

_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to