[Aptitude-svn-commit] r4170 - in branches/aptitude-0.3/aptitude: . src/vscreen

Daniel Burrows dburrows at costa.debian.org
Thu Sep 22 16:07:35 UTC 2005


Author: dburrows
Date: Thu Sep 22 16:07:32 2005
New Revision: 4170

Modified:
   branches/aptitude-0.3/aptitude/ChangeLog
   branches/aptitude-0.3/aptitude/src/vscreen/curses++.h
Log:
Fix mvaddnstr for std::wstrings.

Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog	(original)
+++ branches/aptitude-0.3/aptitude/ChangeLog	Thu Sep 22 16:07:32 2005
@@ -1,3 +1,9 @@
+2005-09-22  Daniel Burrows  <dburrows at debian.org>
+
+	* src/vscreen/curses++.h:
+
+	  Fix mvaddnstr for std::wstrings.
+
 2005-09-22 Rubén Porras <nahoo at inicia.es>
 
 	* Update spanish translation

Modified: branches/aptitude-0.3/aptitude/src/vscreen/curses++.h
==============================================================================
--- branches/aptitude-0.3/aptitude/src/vscreen/curses++.h	(original)
+++ branches/aptitude-0.3/aptitude/src/vscreen/curses++.h	Thu Sep 22 16:07:32 2005
@@ -479,7 +479,7 @@
   int addstr(const std::wstring &str) {return addstr(str.c_str());}
   int addnstr(const std::wstring &str, int n) {return addnstr(str.c_str(), n);}
   int mvaddstr(int y, int x, const std::wstring &str) {return mvaddstr(y, x, str.c_str());}
-  int mvaddnstr(int y, int x, const std::wstring &str, int n) {return addstr(str.c_str());}
+  int mvaddnstr(int y, int x, const std::wstring &str, int n) {return mvaddnstr(y, x, str.c_str(), n);}
 
   int addstr(const wchar_t *str) {return waddwstr(win, str);}
   int addnstr(const wchar_t *str, int n) {return waddnwstr(win, str, n);}



More information about the Aptitude-svn-commit mailing list