[Aptitude-svn-commit] r3495 - in branches/aptitude-0.3/aptitude: . src/vscreen
Daniel Burrows
dburrows@costa.debian.org
Tue, 28 Jun 2005 00:12:15 +0000
Author: dburrows
Date: Tue Jun 28 00:12:12 2005
New Revision: 3495
Modified:
branches/aptitude-0.3/aptitude/ChangeLog
branches/aptitude-0.3/aptitude/src/vscreen/testvscreen.cc
Log:
Honor the locale in the test program.
Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog (original)
+++ branches/aptitude-0.3/aptitude/ChangeLog Tue Jun 28 00:12:12 2005
@@ -1,5 +1,10 @@
2005-06-27 Daniel Burrows <dburrows@debian.org>
+ * src/vscreen/testvscreen.cc:
+
+ Use setlocale() to actually enter the current locale (so UTF-8
+ locales actually work now!).
+
* src/vscreen/config/keybindings.cc:
Fix the definition of KEY_CTRL and keyname to be slightly more
Modified: branches/aptitude-0.3/aptitude/src/vscreen/testvscreen.cc
==============================================================================
--- branches/aptitude-0.3/aptitude/src/vscreen/testvscreen.cc (original)
+++ branches/aptitude-0.3/aptitude/src/vscreen/testvscreen.cc Tue Jun 28 00:12:12 2005
@@ -363,6 +363,8 @@
int main(int argc, char *argv[])
{
+ setlocale(LC_ALL, "");
+
vscreen_init();
global_bindings.set("CycleScreen", key(KEY_F(6), true));