diff options
author | 2002-08-08 14:01:11 +0000 | |
---|---|---|
committer | 2002-08-08 14:01:11 +0000 | |
commit | b7bdf6007518fef40b8e44989a29bc3a3a0e6153 (patch) | |
tree | 2f4b5060c9a07c1b745d7718ff7a2aa97b771cfa | |
parent | Use & to test if bits are set, not &&; art@ ok. (diff) | |
download | wireguard-openbsd-b7bdf6007518fef40b8e44989a29bc3a3a0e6153.tar.xz wireguard-openbsd-b7bdf6007518fef40b8e44989a29bc3a3a0e6153.zip |
Use & to test if bits are set, not &&; art@ ok. Fix sent to bug-groff@gnu.org
and the groff maintainers.
-rw-r--r-- | gnu/usr.bin/groff/pic/object.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/groff/pic/object.cc b/gnu/usr.bin/groff/pic/object.cc index 860e1bc6453..b5ff195daed 100644 --- a/gnu/usr.bin/groff/pic/object.cc +++ b/gnu/usr.bin/groff/pic/object.cc @@ -1098,7 +1098,7 @@ graphic_object *object_spec::make_move(position *curpos, direction *dirp) // 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) { |