File: 300_entry-utf8.patch

package info (click to toggle)
newt 0.52.2-10%2Betch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 836 kB
  • ctags: 27
  • sloc: makefile: 186; sh: 5
file content (12 lines) | stat: -rw-r--r-- 418 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
diff -ruN newt-0.52.2-old/entry.c newt-0.52.2/entry.c
--- newt-0.52.2-old/entry.c	2006-08-26 18:49:11.000000000 +0200
+++ newt-0.52.2/entry.c	2006-08-26 18:50:06.000000000 +0200
@@ -198,7 +198,7 @@
 	i = len;
 	/* BIDI: do not replaced, because it will not work.
 	 * More work needed */
-	SLsmg_write_string(chptr);
+	SLsmg_write_nstring(chptr, len);
 	while (i < co->width) {
 	    SLsmg_write_char('_');
 	    i++;