=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mandoc/term_ascii.c,v retrieving revision 1.40 retrieving revision 1.41 diff -c -r1.40 -r1.41 *** src/usr.bin/mandoc/term_ascii.c 2017/05/07 17:30:58 1.40 --- src/usr.bin/mandoc/term_ascii.c 2017/05/08 15:33:43 1.41 *************** *** 1,7 **** ! /* $OpenBSD: term_ascii.c,v 1.40 2017/05/07 17:30:58 schwarze Exp $ */ /* * Copyright (c) 2010, 2011 Kristaps Dzonsons ! * Copyright (c) 2014, 2015 Ingo Schwarze * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above --- 1,7 ---- ! /* $OpenBSD: term_ascii.c,v 1.41 2017/05/08 15:33:43 schwarze Exp $ */ /* * Copyright (c) 2010, 2011 Kristaps Dzonsons ! * Copyright (c) 2014, 2015, 2017 Ingo Schwarze * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above *************** *** 203,208 **** --- 203,210 ---- { p->line++; + p->offset -= p->ti; + p->ti = 0; putchar('\n'); } *************** *** 356,361 **** --- 358,365 ---- { p->line++; + p->offset -= p->ti; + p->ti = 0; putwchar(L'\n'); }