Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Oct 2013 23:04:29 +0200
From:      dt71@gmx.com
To:        sbruno@freebsd.org,  "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>
Subject:   Re: [PATCH] contrib/groff Queisce -Wdangling else
Message-ID:  <526C2E5D.2080008@gmx.com>
In-Reply-To: <1382799852.32760.2.camel@localhost>
References:  <1382799852.32760.2.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
Sean Bruno wrote, On 10/26/2013 17:04:

Index: contrib/groff/src/roff/troff/node.cpp
===================================================================
--- contrib/groff/src/roff/troff/node.cpp	(revision 257159)
+++ contrib/groff/src/roff/troff/node.cpp	(working copy)
@@ -4600,17 +4600,18 @@
    }
    else {
      hunits rem = x - w*i;
-    if (rem > H0)
+    if (rem > H0) {
        if (n->overlaps_horizontally()) {
  	if (out->is_on())
  	  n->tprint(out);
  	out->right(rem - w);
+      } else {
+	out->right(rem);
        }
-      else
-	out->right(rem);
      while (--i >= 0)
        if (out->is_on())
  	n->tprint(out);
+    }
    }
  }
  
> There is no(intended) functional change.

RED ALERT ! SEAN BRUNO IS A GOVERNMENT SPY !!!!1




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?526C2E5D.2080008>