[gnue] r9636 - trunk/gnue-forms/src/uidrivers/curses

[email protected]
Newsgroups gmane.comp.cms.gnue.cvs
Message-ID <[email protected]>
Author: johannes
Date: 2007-05-29 03:31:35 -0500 (Tue, 29 May 2007)
New Revision: 9636

Modified:
   trunk/gnue-forms/src/uidrivers/curses/dialogs.py
Log:
Properly encode text 


Modified: trunk/gnue-forms/src/uidrivers/curses/dialogs.py
===================================================================
--- trunk/gnue-forms/src/uidrivers/curses/dialogs.py	2007-05-28 15:57:40 UTC (rev 9635)
+++ trunk/gnue-forms/src/uidrivers/curses/dialogs.py	2007-05-29 08:31:35 UTC (rev 9636)
@@ -162,7 +162,7 @@
             else:
                 attr = self.__normal
 
-            self.__window.addnstr(3 + line, 1, text, self.__dwidth + 2, attr)
+            self.__window.addnstr(3 + line, 1, o(text), self.__dwidth + 2, attr)
 
         self.__window.move(3 + self.__pIndex - 1, 1)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.