summaryrefslogtreecommitdiff
path: root/editors/jed/files/patch-src_misc.c
diff options
context:
space:
mode:
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
+ }
+
+