summaryrefslogtreecommitdiff
path: root/editors/jed/files/patch-src_misc.c
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2006-04-03 13:18:04 +0000
committerRenato Botelho <garga@FreeBSD.org>2006-04-03 13:18:04 +0000
commit78f61bb987214405855b57df50c84b29b25636c4 (patch)
tree07cf7ce6ed5f83fdfeeab84a0c98b8b48caba3e6 /editors/jed/files/patch-src_misc.c
parent- Upgrade to 1.4.3. (diff)
Update to 0.99.18
Notes
Notes: svn path=/head/; revision=158722
Diffstat (limited to 'editors/jed/files/patch-src_misc.c')
-rw-r--r--editors/jed/files/patch-src_misc.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/editors/jed/files/patch-src_misc.c b/editors/jed/files/patch-src_misc.c
new file mode 100644
index 000000000000..3ae13f40bde9
--- /dev/null
+++ b/editors/jed/files/patch-src_misc.c
@@ -0,0 +1,17 @@
+--- src/misc.c.orig Mon Apr 3 09:05:53 2006
++++ src/misc.c Mon Apr 3 09:05:05 2006
+@@ -741,12 +741,14 @@
+
+ void jed_ungetkey_wchar (SLwchar_Type wc)
+ {
++#if JED_HAS_UTF8_SUPPORT
+ SLuchar_Type *b, buf[SLUTF8_MAX_MBLEN];
+
+ if (NULL == (b = jed_wchar_to_multibyte (wc, buf)))
+ return;
+
+ ungetkey_string ((char *)buf, (int)(b-buf));
++#endif
+ }
+
+