[Aptitude-svn-commit] r3450 - in branches/aptitude-0.3/aptitude: . src
Daniel Burrows
dburrows@costa.debian.org
Sun, 26 Jun 2005 11:02:24 +0000
Author: dburrows
Date: Sun Jun 26 11:02:21 2005
New Revision: 3450
Modified:
branches/aptitude-0.3/aptitude/ChangeLog
branches/aptitude-0.3/aptitude/src/pkg_ver_item.cc
Log:
Store the output of the columnizer in a wstring, not a string.
Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog (original)
+++ branches/aptitude-0.3/aptitude/ChangeLog Sun Jun 26 11:02:21 2005
@@ -1,5 +1,9 @@
2005-06-26 Daniel Burrows <dburrows@debian.org>
+ * src/pkg_ver_item.cc:
+
+ Store the output of the columnizer in a wstring.
+
* src/Makefile.am, src/pkg_item_with_subtree.cc, src/pkg_item_with_subtree.h:
Doh, of course since pkg_i_w_s is templated, all its method
Modified: branches/aptitude-0.3/aptitude/src/pkg_ver_item.cc
==============================================================================
--- branches/aptitude-0.3/aptitude/src/pkg_ver_item.cc (original)
+++ branches/aptitude-0.3/aptitude/src/pkg_ver_item.cc Sun Jun 26 11:02:21 2005
@@ -506,10 +506,10 @@
win->getmaxyx(height, width);
pkg_item::pkg_columnizer::setup_columns();
- string disp=pkg_ver_columnizer(version,
- show_pkg_name,
- pkg_item::pkg_columnizer::get_columns(),
- basex).layout_columns(width);
+ wstring disp=pkg_ver_columnizer(version,
+ show_pkg_name,
+ pkg_item::pkg_columnizer::get_columns(),
+ basex).layout_columns(width);
win->mvaddnstr(y, 0, disp.c_str(), width);
}