[Aptitude-devel] r3027 - in branches/aptitude-0.3/aptitude: . src
Daniel Burrows
dburrows@costa.debian.org
Thu, 21 Apr 2005 03:36:36 +0000
Author: dburrows
Date: Thu Apr 21 03:36:33 2005
New Revision: 3027
Modified:
branches/aptitude-0.3/aptitude/ChangeLog
branches/aptitude-0.3/aptitude/src/desc_parse.cc
Log:
Fix the indentation of the output formatted bullet lists.
Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog (original)
+++ branches/aptitude-0.3/aptitude/ChangeLog Thu Apr 21 03:36:33 2005
@@ -2,6 +2,11 @@
* src/desc_parse.cc:
+ Base the *output* indent level of bulleted text on the number of
+ bullet levels, not the input indent level.
+
+ * src/desc_parse.cc:
+
Allow bulleted lists that are indented more than 2 spaces.
Don't mangle lists and literal lines that immediately follow a
paragraph.
Modified: branches/aptitude-0.3/aptitude/src/desc_parse.cc
==============================================================================
--- branches/aptitude-0.3/aptitude/src/desc_parse.cc (original)
+++ branches/aptitude-0.3/aptitude/src/desc_parse.cc Thu Apr 21 03:36:33 2005
@@ -116,7 +116,7 @@
fragments.push_back(text_fragment(bullet,
get_color("Bullet")));
fragments.push_back(indentbox(1,
- nspaces2+1,
+ (level+1)*2,
item_contents));
}