[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/scim-hangul/devel scim-hangul-0.2.0-ignore-invisible-char.patch, NONE, 1.1



Author: tagoh

Update of /cvs/dist/rpms/scim-hangul/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv11059

Added Files:
	scim-hangul-0.2.0-ignore-invisible-char.patch 
Log Message:


scim-hangul-0.2.0-ignore-invisible-char.patch:
 hangulinputcontext.c |    4 ++++
 1 files changed, 4 insertions(+)

--- NEW FILE scim-hangul-0.2.0-ignore-invisible-char.patch ---
diff -ruN --exclude .libs --exclude .deps --exclude 'stamp*' --exclude '*.la' --exclude mozilla --exclude '*o' --exclude POTFILES --exclude '*spec' --exclude 'Makefile*' --exclude 'config*' --exclude libtool scim-hangul-0.2.0.orig/src/hangulinputcontext.c scim-hangul-0.2.0/src/hangulinputcontext.c
--- scim-hangul-0.2.0.orig/src/hangulinputcontext.c	2004-12-27 14:19:31.000000000 +0900
+++ scim-hangul-0.2.0/src/hangulinputcontext.c	2005-08-25 13:57:43.000000000 +0900
@@ -93,6 +93,10 @@
 {
     int n = 0;
 
+    if (!buffer->choseong && !buffer->jungseong && !buffer->jongseong) {
+	buf[0] = L'\0';
+	return 0;
+    }
     if (buffer->choseong) {
 	buf[n++] = buffer->choseong;
     } else {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]