[Aptitude-svn-commit] r4157 - in branches/aptitude-0.3/aptitude: .
src/vscreen
Daniel Burrows
dburrows at costa.debian.org
Wed Sep 21 21:56:38 UTC 2005
Author: dburrows
Date: Wed Sep 21 21:56:35 2005
New Revision: 4157
Modified:
branches/aptitude-0.3/aptitude/ChangeLog
branches/aptitude-0.3/aptitude/src/vscreen/fragment.cc
Log:
Make sure that column fragments always have a final newline.
Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog (original)
+++ branches/aptitude-0.3/aptitude/ChangeLog Wed Sep 21 21:56:35 2005
@@ -1,5 +1,9 @@
2005-09-21 Daniel Burrows <dburrows at debian.org>
+ * src/vscreen/fragment.cc:
+
+ Make column fragments always have a final newline.
+
* src/vscreen/vscreen.cc:
When determining how long the timeout thread should sleep,
Modified: branches/aptitude-0.3/aptitude/src/vscreen/fragment.cc
==============================================================================
--- branches/aptitude-0.3/aptitude/src/vscreen/fragment.cc (original)
+++ branches/aptitude-0.3/aptitude/src/vscreen/fragment.cc Wed Sep 21 21:56:35 2005
@@ -1,6 +1,22 @@
// fragment.cc
//
-// Copyright 2004 Daniel Burrows
+//
+// Copyright (C) 2004-2005 Daniel Burrows
+//
+// This program is free software; you can redistribute it and/or
+// modify it under the terms of the GNU General Public License as
+// published by the Free Software Foundation; either version 2 of
+// the License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; see the file COPYING. If not, write to
+// the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+// Boston, MA 02111-1307, USA.
#include "fragment.h"
#include "transcode.h"
@@ -1059,6 +1075,8 @@
rval.push_back(tmp);
}
+ rval.set_final_nl(true);
+
return rval;
}
More information about the Aptitude-svn-commit
mailing list