bug-groff
[Top][All Lists]
Advanced

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

Re: bittest error


From: Werner LEMBERG
Subject: Re: bittest error
Date: Fri, 09 Aug 2002 01:06:55 +0200 (CEST)

> Found this while trawling the OpenBSD gnu groff source, thought I'd
> pass it along to the maintainers.

I've fixed an incorrect `&&' right now in the CVS, thanks, but not the
one you are referring in your patch which has already been fixed (see
below).  Strange.


    Werner

======================================================================

--- object.cc.old       Fri May 17 14:09:10 2002
+++ object.cc   Fri Aug  9 01:03:52 2002
@@ -1129,7 +1129,7 @@
   // No need to look at at since `at' attribute sets `from' attribute.
   position startpos = (flags & HAS_FROM) ? from : *curpos;
   if (!(flags & HAS_SEGMENT)) {
-    if ((flags && IS_SAME) && have_last_move)
+    if ((flags & IS_SAME) && have_last_move)
       segment_pos = last_move;
     else {
       switch (dir) {



reply via email to

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