[Aptitude-devel] r3024 - in branches/aptitude-0.3/aptitude: . src
Daniel Burrows
dburrows@costa.debian.org
Thu, 21 Apr 2005 03:19:14 +0000
Author: dburrows
Date: Thu Apr 21 03:19:11 2005
New Revision: 3024
Modified:
branches/aptitude-0.3/aptitude/ChangeLog
branches/aptitude-0.3/aptitude/src/desc_parse.cc
Log:
Right, breaking out of case statements is a good idea...
Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog (original)
+++ branches/aptitude-0.3/aptitude/ChangeLog Thu Apr 21 03:19:11 2005
@@ -2,6 +2,10 @@
* src/desc_parse.cc:
+ Add a missing "break".
+
+ * src/desc_parse.cc:
+
Initial implementation of automagic bullet detection.
Buggy.
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:19:11 2005
@@ -108,6 +108,7 @@
fragf("%s%F",
bullet.c_str(),
item_contents)));
+
}
else
{
@@ -123,9 +124,10 @@
++loc;
start=loc;
- break;
}
}
+
+ break;
case '.':
// Add a blank line (ignore the rest of the line)
{