summaryrefslogtreecommitdiff
path: root/packages/mc/mc-4.6.2/mc-utf8-nlink.patch
diff options
context:
space:
mode:
authorStanislav Brabec <utx@penguin.cz>2009-02-23 15:14:35 +0000
committerutx@penguin.cz <utx@penguin.cz>2009-02-23 15:14:35 +0000
commit2598f7b63e147f15f07a2b66d89fd97863196993 (patch)
tree596c59ca735d3a062a45aed44f4481e0d513fd87 /packages/mc/mc-4.6.2/mc-utf8-nlink.patch
parenta7653f0e9ca08570b88dc35c9e9866eb64818ce8 (diff)
mc: Updated to 4.6.2 + openSUSE and Debian UTF-8 patches.
Diffstat (limited to 'packages/mc/mc-4.6.2/mc-utf8-nlink.patch')
-rw-r--r--packages/mc/mc-4.6.2/mc-utf8-nlink.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/mc/mc-4.6.2/mc-utf8-nlink.patch b/packages/mc/mc-4.6.2/mc-utf8-nlink.patch
new file mode 100644
index 0000000000..9e361630c4
--- /dev/null
+++ b/packages/mc/mc-4.6.2/mc-utf8-nlink.patch
@@ -0,0 +1,11 @@
+--- mc-4.6.2/src/screen.c
++++ mc-4.6.2/src/screen.c
+@@ -671,7 +671,7 @@
+ SLsmg_write_nwchars (((wchar_t *) buffer)
+ + txtlen - n2, n2);
+ } else
+- SLsmg_write_nwchars ((wchar_t *) buffer, len);
++ SLsmg_write_nwchars ((wchar_t *) buffer + still, len);
+ } else {
+ printw ("%*s", still, "");
+ SLsmg_write_nwchars ((wchar_t *) buffer, txtlen);