~ubuntu-branches/ubuntu/lucid/newt/lucid

« back to all changes in this revision

Viewing changes to debian/patches/300_entry-utf8.patch

  • Committer: Bazaar Package Importer
  • Author(s): Alastair McKinstry
  • Date: 2006-09-29 13:25:33 UTC
  • Revision ID: james.westby@ubuntu.com-20060929132533-5b2bnvs0kt628ra0
Tags: 0.52.2-8
* Change libnewt0.52 priority to important, as it is required by whiptail,
  which is important.
* Fix by Eugeniy Meshcheryakov for inputbox breakage under non-ASCII
  locales. Closes: #384391, #384787.
* Moved debhelper dependency to >= 5.0.37.2, to ensure latest python policy
  support.
* libcheck: Remove unnecessary dependencies on -lm, -lslang, -lpopt from
  libnewt and executables.
* When fribidi lookup fails, record the fact so we don't try to dlopen()
  libfribidi on every text string printed.
* newt-tcl: rename /usr/lib/libtwhiptcl.so/ to /usr/lib/whiptcl for clarity.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
diff -ruN newt-0.52.2-old/entry.c newt-0.52.2/entry.c
 
2
--- newt-0.52.2-old/entry.c     2006-08-26 18:49:11.000000000 +0200
 
3
+++ newt-0.52.2/entry.c 2006-08-26 18:50:06.000000000 +0200
 
4
@@ -198,7 +198,7 @@
 
5
        i = len;
 
6
        /* BIDI: do not replaced, because it will not work.
 
7
         * More work needed */
 
8
-       SLsmg_write_string(chptr);
 
9
+       SLsmg_write_nstring(chptr, len);
 
10
        while (i < co->width) {
 
11
            SLsmg_write_char('_');
 
12
            i++;