Module Name: src Committed By: drochner Date: Thu May 6 19:00:08 UTC 2010
Modified Files: src/gnu/dist/groff/src/libs/libdriver: input.cpp Log Message: fix an operator precedence confusion which is harmless due to some luck To generate a diff of this commit: cvs rdiff -u -r1.1.1.3 -r1.2 src/gnu/dist/groff/src/libs/libdriver/input.cpp Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/gnu/dist/groff/src/libs/libdriver/input.cpp diff -u src/gnu/dist/groff/src/libs/libdriver/input.cpp:1.1.1.3 src/gnu/dist/groff/src/libs/libdriver/input.cpp:1.2 --- src/gnu/dist/groff/src/libs/libdriver/input.cpp:1.1.1.3 Mon Feb 6 18:13:59 2006 +++ src/gnu/dist/groff/src/libs/libdriver/input.cpp Thu May 6 19:00:08 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: input.cpp,v 1.1.1.3 2006/02/06 18:13:59 wiz Exp $ */ +/* $NetBSD: input.cpp,v 1.2 2010/05/06 19:00:08 drochner Exp $ */ // -*- C++ -*- @@ -997,7 +997,7 @@ inline bool odd(const int n) { - return (n & 1 == 1) ? true : false; + return (n & 1) ? true : false; } //////////////////////////////////////////////////////////////////////