aboutsummaryrefslogtreecommitdiffstats
path: root/editors/cooledit/files
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-12-15 23:21:50 +0800
committerkrion <krion@FreeBSD.org>2004-12-15 23:21:50 +0800
commit87618aaaf9d7722e41c9683de6ab7596f6675bc3 (patch)
tree27b2446a625c9bfbed95b58b9f82837ed6ce0a2c /editors/cooledit/files
parent8083603f0da31cbf4c95b9cf42518549bf700573 (diff)
downloadfreebsd-ports-gnome-87618aaaf9d7722e41c9683de6ab7596f6675bc3.tar.gz
freebsd-ports-gnome-87618aaaf9d7722e41c9683de6ab7596f6675bc3.tar.zst
freebsd-ports-gnome-87618aaaf9d7722e41c9683de6ab7596f6675bc3.zip
Update to version 3.17.14
PR: ports/75110 Submitted by: Ports Fury
Diffstat (limited to 'editors/cooledit/files')
-rw-r--r--editors/cooledit/files/patch-widget::widechar.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/editors/cooledit/files/patch-widget::widechar.c b/editors/cooledit/files/patch-widget::widechar.c
new file mode 100644
index 000000000000..c60929714b2c
--- /dev/null
+++ b/editors/cooledit/files/patch-widget::widechar.c
@@ -0,0 +1,18 @@
+--- widget/widechar.c.orig Sat Nov 27 17:46:03 2004
++++ widget/widechar.c Wed Dec 15 01:17:59 2004
+@@ -227,6 +227,7 @@
+ static inline struct mb_rule apply_mb_rules_going_right (WEdit * edit, long byte_index, struct mb_rule mb_rule)
+ {
+ #ifdef HAVE_WCHAR_H
++#ifdef HAVE_MBRTOWC
+ wchar_t wc;
+ unsigned char p[16];
+ int n;
+@@ -252,6 +253,7 @@
+ }
+ mb_rule.end = 0;
+ mb_rule.ch = -1;
++#endif
+ #endif
+ return mb_rule;
+ }