diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2004-04-07 04:13:35 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2004-04-07 04:13:35 +0000 |
commit | 6a4ea2dc79142ea9276d17532b53919cfa626edb (patch) | |
tree | 64cf06366af351a70708bd69d855f7a58361f011 /chinese/irssi/files/patch-src::fe-text::utf8.h | |
parent | Use stat instead of lstat to get DSP device information. This should fix (diff) |
Fix auto-complete problem.
Submitted by: mhsin (msgin_at_mhsin_dot_org)
Diffstat (limited to '')
-rw-r--r-- | chinese/irssi/files/patch-src::fe-text::utf8.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/chinese/irssi/files/patch-src::fe-text::utf8.h b/chinese/irssi/files/patch-src::fe-text::utf8.h new file mode 100644 index 000000000000..e9deb6b55477 --- /dev/null +++ b/chinese/irssi/files/patch-src::fe-text::utf8.h @@ -0,0 +1,13 @@ +--- src/fe-text/utf8.h.orig Mon Oct 20 03:10:02 2003 ++++ src/fe-text/utf8.h Wed Apr 7 11:06:22 2004 +@@ -18,6 +18,10 @@ + Make sure out is at least 6 x length of str. */ + void utf16_to_utf8(const unichar *str, char *out); + ++/* unichar -> UTF-8 string with position transformed. The NUL is copied as well. ++ Make sure out is at least 6 x length of str. */ ++void utf16_to_utf8_with_pos(const unichar *str, int spos, char *out, int *opos); ++ + /* XXX I didn't check the encoding range of big5+. This is standard big5. */ + #define is_big5_los(lo) (0x40 <= (lo) && (lo) <= 0x7E) /* standard */ + #define is_big5_lox(lo) (0x80 <= (lo) && (lo) <= 0xFE) /* extended */ |