[BACK]Return to main.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / mandoc

Diff for /src/usr.bin/mandoc/main.c between version 1.208 and 1.209

version 1.208, 2018/04/19 16:25:11 version 1.209, 2018/05/14 14:09:48
Line 297 
Line 297 
   
         if (use_pager &&          if (use_pager &&
             (conf.output.width == 0 || conf.output.indent == 0) &&              (conf.output.width == 0 || conf.output.indent == 0) &&
             ioctl(STDOUT_FILENO, TIOCGWINSZ, &ws) != -1) {              ioctl(STDOUT_FILENO, TIOCGWINSZ, &ws) != -1 &&
               ws.ws_col > 1) {
                 if (conf.output.width == 0 && ws.ws_col < 79)                  if (conf.output.width == 0 && ws.ws_col < 79)
                         conf.output.width = ws.ws_col - 1;                          conf.output.width = ws.ws_col - 1;
                 if (conf.output.indent == 0 && ws.ws_col < 66)                  if (conf.output.indent == 0 && ws.ws_col < 66)

Legend:
Removed from v.1.208  
changed lines
  Added in v.1.209