groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 01/01: * src/preproc/eqn/box.cpp (set_script_size): Fix minimum


From: Werner LEMBERG
Subject: [groff] 01/01: * src/preproc/eqn/box.cpp (set_script_size): Fix minimum test.
Date: Mon, 17 Mar 2014 05:49:23 +0000

wl pushed a commit to branch master
in repository groff.

commit cc67e6f7c6aaed78ffcdac62c736301e189b938d
Author: Werner Lemberg <address@hidden>
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 <address@hidden> 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  <address@hidden>
+
+       * src/preproc/eqn/box.cpp (set_script_size): Fix minimum test.
+
+       Problem reported by Ted Harding <address@hidden> in a
+       thread starting with
+
+         http://lists.gnu.org/archive/html/groff/2014-03/msg00181.html
+
 2014-03-16  Werner Lemberg  <address@hidden>
 
        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 (address@hidden)
 
@@ -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;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]