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

Akira Tagoh (tagoh) fedora-extras-commits at redhat.com
Fri Sep 2 02:55:45 UTC 2005


Author: tagoh

Update of /cvs/extras/rpms/scim-hangul/FC-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2279

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


scim-hangul-0.2.0-ignore-invisible-char.patch:

--- 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 {




More information about the fedora-extras-commits mailing list