groff-commit
[Top][All Lists]
Advanced

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

[groff] 09/10: [tbl]: Fix post-1.23.0 regression.


From: G. Branden Robinson
Subject: [groff] 09/10: [tbl]: Fix post-1.23.0 regression.
Date: Tue, 18 Jul 2023 10:49:51 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit c076c8b6c49434cfe14fe44547aa8b76ca237c85
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Mon Jul 17 19:38:36 2023 -0500

    [tbl]: Fix post-1.23.0 regression.
    
    * src/preproc/tbl/main.cpp (process_format): Fix thinkos introduced in
      commit ba420961c3, 19 May, which caused the first character after
      [PpVv] column modifiers to be ignored.  Problem visible in typeset
      renderings of our "ms.ms" document, where some table entries were
      getting rendered at a type size of 1p.
---
 ChangeLog                | 10 ++++++++++
 src/preproc/tbl/main.cpp |  2 --
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index d6de099fd..c5c163982 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2023-07-17  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       [tbl]: Fix post-1.23.0 regression.
+
+       * src/preproc/tbl/main.cpp (process_format): Fix thinkos
+       introduced in commit ba420961c3, 19 May, which caused the first
+       character after [PpVv] column modifiers to be ignored.  Problem
+       visible in typeset renderings of our "ms.ms" document, where
+       some table entries were getting rendered at a type size of 1p.
+
 2023-07-17  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        [ms]: Fix Savannah #64438.
diff --git a/src/preproc/tbl/main.cpp b/src/preproc/tbl/main.cpp
index fbb2b2a23..4e0faebce 100644
--- a/src/preproc/tbl/main.cpp
+++ b/src/preproc/tbl/main.cpp
@@ -993,7 +993,6 @@ format *process_format(table_input &in, options *opt,
          size_expression &ps = list->type_size;
          ps.relativity = size_expression::ABSOLUTE;
          ps.whole = 0;
-         c = in.get();
          do {
            c = in.get();
          } while (c == ' ' || c == '\t');
@@ -1045,7 +1044,6 @@ format *process_format(table_input &in, options *opt,
          size_expression &vs = list->vertical_spacing;
          vs.whole = 0;
          vs.relativity = size_expression::ABSOLUTE;
-         c = in.get();
          do {
            c = in.get();
          } while (c == ' ' || c == '\t');



reply via email to

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