[Aptitude-devel] r3025 - in branches/aptitude-0.3/aptitude: . src

Daniel Burrows dburrows@costa.debian.org
Thu, 21 Apr 2005 03:21:43 +0000


Author: dburrows
Date: Thu Apr 21 03:21:40 2005
New Revision: 3025

Modified:
   branches/aptitude-0.3/aptitude/ChangeLog
   branches/aptitude-0.3/aptitude/src/desc_parse.cc
Log:
Fix bullet display.

Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog	(original)
+++ branches/aptitude-0.3/aptitude/ChangeLog	Thu Apr 21 03:21:40 2005
@@ -2,6 +2,11 @@
 
 	* src/desc_parse.cc:
 
+	  Fix a silly thinko in the generation of bullets that was causing
+	  bullets to appear twice in the output.
+
+	* src/desc_parse.cc:
+
 	  Add a missing "break".
 
 	* src/desc_parse.cc:

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:21:40 2005
@@ -92,7 +92,6 @@
 
 		string bullet;
 		bullet+=("*+-"[level%3]);
-		bullet+=" ";
 
 		start=loc+1;
 
@@ -105,9 +104,7 @@
 						  get_color("Bullet")));
 		fragments.push_back(indentbox(nspaces,
 					      nspaces+2,
-					      fragf("%s%F",
-						    bullet.c_str(),
-						    item_contents)));
+					      item_contents));
 
 	      }
 	    else