$OpenBSD: patch-src_roff_troff_env_cpp,v 1.1 2011/03/19 16:48:53 schwarze Exp $
# completely disable adjustment
# to help automatic comparisons with mandoc
--- src/roff/troff/env.cpp.orig	Fri Dec 31 00:33:08 2010
+++ src/roff/troff/env.cpp	Sat Mar 12 13:09:47 2011
@@ -627,7 +627,7 @@ environment::environment(symbol nm)
   char_slant(0),
   space_size(12),
   sentence_space_size(12),
-  adjust_mode(ADJUST_BOTH),
+  adjust_mode(ADJUST_LEFT),
   fill(1),
   interrupted(0),
   prev_line_interrupted(0),
@@ -2499,7 +2499,7 @@ void adjust()
 
 void no_adjust()
 {
-  curenv->adjust_mode &= ~1;
+  curenv->adjust_mode = ADJUST_LEFT;
   skip_line();
 }
 
@@ -3395,7 +3395,7 @@ void print_env()
 
 void init_env_requests()
 {
-  init_request("ad", adjust);
+  init_request("ad", no_adjust);
   init_request("br", break_request);
   init_request("brp", break_spread_request);
   init_request("c2", no_break_control_char);
