Jim Meyering
a4053c5291
pr: fix a bug whereby --indent=N (-o) did not indent header lines
...
* src/pr.c (print_header): Honor chars_per_margin also for the header.
Inspired by a patch from C de-Avillez.
This change also adjusts two other %*s directives to be %*.*s instead,
(for the padding on either side of "file_text") to correct a bug that
could make pr print one space of padding instead of none.
* NEWS (Bug fixes): Mention it.
* tests/pr/o3Jml24f-lm-lo: Adjust for new expected output.
* tests/pr/o3a3Sl24f-tn: Likewise.
* tests/pr/o3a3Snl24f-tn: Likewise.
* tests/pr/o3a3l24f-tn: Likewise.
* tests/pr/o3b3Sl24f-tn: Likewise.
* tests/pr/o3b3Snl24f-tn: Likewise.
* tests/pr/o3b3l24f-tn: Likewise.
* tests/pr/o3mSl24f-bl-tn: Likewise.
* tests/pr/o3mSnl24fbltn: Likewise.
* tests/pr/o3ml24f-bl-tn: Likewise.
2009-03-07 23:52:08 +01:00
..
2009-01-03 15:10:42 +00:00
2008-12-21 17:49:58 +01:00
2008-08-26 18:45:06 +02:00
2008-06-27 10:54:23 +02:00
2009-03-06 14:41:47 +01:00
2008-10-06 22:53:04 +02:00
2009-02-13 18:41:01 +01:00
2009-02-13 18:41:01 +01:00
2008-12-03 11:02:45 +01:00
2008-02-28 19:53:07 +01:00
2009-02-13 18:41:01 +01:00
2009-01-08 07:57:36 -07:00
2008-11-10 08:11:59 +01:00
2008-11-10 08:19:52 +01:00
2009-02-27 11:44:26 +01:00
2009-02-18 15:27:10 +01:00
2008-11-20 10:21:52 +01:00
2008-11-20 10:21:52 +01:00
2009-03-02 09:09:43 +01:00
2009-03-06 11:49:46 +01:00
2008-08-04 11:10:14 +02:00
2008-11-30 19:14:29 +01:00
2007-07-23 14:35:58 +02:00
2009-03-06 11:49:46 +01:00
2008-09-03 15:39:28 +02:00
2009-02-10 14:47:39 +01:00
2008-10-28 21:08:30 +01:00
2008-08-26 18:45:06 +02:00
2007-07-23 14:35:58 +02:00
2009-02-13 18:41:01 +01:00
2009-01-16 13:37:32 +01:00
2008-11-30 19:14:29 +01:00
2009-03-06 11:49:46 +01:00
2008-10-20 15:40:50 +01:00
2007-07-23 14:35:58 +02:00
2009-03-06 11:49:46 +01:00
2005-07-18 07:52:37 +00:00
2008-08-12 20:38:37 +02:00
2008-06-16 16:40:59 +02:00
2008-12-21 17:49:58 +01:00
2009-01-16 11:06:09 +00:00
2008-02-28 19:53:07 +01:00
2008-08-31 15:58:27 +02:00
2008-11-10 08:11:59 +01:00
2009-01-08 07:57:36 -07:00
2008-12-01 17:40:27 +01:00
2009-02-15 10:17:19 +01:00
2009-03-06 11:49:46 +01:00
2008-11-10 08:19:52 +01:00
2008-08-12 20:41:25 +02:00
2003-07-06 06:08:40 +00:00
2008-08-26 18:45:06 +02:00
2009-02-11 21:26:51 -07:00
2008-08-26 18:45:06 +02:00
2009-03-06 11:49:46 +01:00
2009-01-29 13:31:15 +01:00
2008-11-10 08:11:59 +01:00
2008-10-19 14:15:31 +02:00
2008-09-19 12:27:36 +02:00
2008-09-19 12:27:36 +02:00
2008-10-16 23:00:22 +02:00
2009-03-06 11:49:46 +01:00
2008-08-26 18:45:06 +02:00
2009-02-18 06:07:30 -07:00
2008-09-19 12:27:36 +02:00
2008-11-10 08:11:59 +01:00
2009-02-28 11:06:35 +01:00
2008-06-02 14:40:26 +02:00
2008-11-10 08:11:59 +01:00
2009-01-16 11:06:09 +00:00
2008-12-21 17:49:58 +01:00
2009-03-07 23:52:08 +01:00
2008-08-26 18:45:06 +02:00
2009-01-16 13:37:32 +01:00
2008-06-03 09:15:00 +02:00
2009-03-02 09:10:17 +01:00
2009-03-06 11:49:46 +01:00
2008-10-19 14:15:31 +02:00
2008-06-16 16:40:59 +02:00
2008-10-21 08:10:29 +02:00
2007-07-23 14:35:58 +02:00
2008-10-21 08:10:29 +02:00
2008-09-19 12:27:37 +02:00
2008-06-16 16:40:59 +02:00
2009-02-18 06:07:30 -07:00
2009-01-08 07:57:36 -07:00
2009-01-22 13:26:04 +00:00
2008-07-27 22:18:06 +02:00
2008-08-26 18:45:06 +02:00
2009-02-26 14:40:28 +00:00
2008-11-10 08:11:59 +01:00
2009-01-03 09:42:39 +01:00
2009-02-05 14:53:10 +01:00
2008-12-21 17:49:58 +01:00
2008-11-10 08:11:59 +01:00
2008-08-26 18:45:06 +02:00
2009-03-02 09:10:17 +01:00
2007-07-23 14:35:58 +02:00
2008-11-10 08:11:59 +01:00
2008-11-10 08:11:59 +01:00
2008-11-10 08:11:59 +01:00
2009-03-02 09:10:06 +01:00
2008-12-23 10:29:05 +00:00
2009-02-09 11:44:40 +01:00
2008-11-10 08:11:59 +01:00
2008-08-26 18:45:06 +02:00
2008-12-21 17:49:58 +01:00
2008-08-26 18:45:06 +02:00
2008-06-16 16:40:59 +02:00
2007-07-10 19:00:00 +02:00
2007-07-10 19:00:00 +02:00
2008-06-16 16:40:59 +02:00
2007-07-10 19:00:00 +02:00
2009-03-06 11:49:46 +01:00
2008-11-10 08:19:52 +01:00
2008-08-26 18:45:06 +02:00
2008-10-19 14:15:31 +02:00
2008-08-26 18:45:06 +02:00
2009-02-05 14:53:10 +01:00
2007-07-23 14:35:58 +02:00
2008-12-21 17:49:58 +01:00
2008-08-26 18:45:06 +02:00
2008-11-10 08:11:59 +01:00