- Resolves: rhbz195416 (Initial input mode between Chinese and English.)

epel9
cchance 17 years ago
parent ef336a0b15
commit 10ec36a050

@ -0,0 +1,19 @@
diff -up libchewing-0.3.0/include/global.h.9-bz195416 libchewing-0.3.0/include/global.h
diff -up libchewing-0.3.0/src/chewingio.c.9-bz195416 libchewing-0.3.0/src/chewingio.c
--- libchewing-0.3.0/src/chewingio.c.9-bz195416 2008-04-24 14:56:45.000000000 +1000
+++ libchewing-0.3.0/src/chewingio.c 2008-04-24 16:31:32.000000000 +1000
@@ -255,13 +255,7 @@ CHEWING_API int chewing_Configure( Chewi
CHEWING_API void chewing_set_ChiEngMode( ChewingContext *ctx, int mode )
{
- ChewingData *pgdata = ctx->data;
-
- if ( pgdata->bFirstKey == 0 ) {
- pgdata->bChiSym = mode;
- pgdata->bCaseChange = ( mode == CHINESE_MODE ? 0 : 1 );
- pgdata->bFirstKey = 1;
- }
+ ctx->data->bChiSym = ( mode == CHINESE_MODE ? 1 : 0 );
}
CHEWING_API int chewing_get_ChiEngMode( ChewingContext *ctx )

@ -1,6 +1,6 @@
Name: libchewing Name: libchewing
Version: 0.3.0 Version: 0.3.0
Release: 10%{?dist} Release: 11%{?dist}
Summary: Intelligent phonetic input method library for Traditional Chinese Summary: Intelligent phonetic input method library for Traditional Chinese
Group: System Environment/Libraries Group: System Environment/Libraries
@ -15,6 +15,7 @@ Patch4: libchewing-0.3.0-6.bz231568.patch
Patch5: libchewing-0.3.0-7.bz237233.patch Patch5: libchewing-0.3.0-7.bz237233.patch
Patch6: libchewing-0.3.0-8.bz237916.patch Patch6: libchewing-0.3.0-8.bz237916.patch
Patch7: libchewing-0.3.0-9.bz200694.patch Patch7: libchewing-0.3.0-9.bz200694.patch
Patch8: libchewing-0.3.0-11.bz195416.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
@ -44,6 +45,7 @@ Headers and other files needed to develop applications using the %name library.
%patch5 -p1 -b .6-bz237233 %patch5 -p1 -b .6-bz237233
%patch6 -p1 -b .7-bz237916 %patch6 -p1 -b .7-bz237916
%patch7 -p1 -b .8-bz200694 %patch7 -p1 -b .8-bz200694
%patch8 -p1 -b .9-bz195416
%build %build
%configure --disable-static %configure --disable-static
@ -77,6 +79,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/*.so %{_libdir}/*.so
%changelog %changelog
* Tue Apr 22 2008 Caius Chance <cchance@redhat.com> - 0.3.0-11.fc9
- Resolves: rhbz195416 (Initial input mode between Chinese and English.)
* Wed Feb 13 2008 Caius Chance <cchance@redhat.com> - 0.3.0-10.fc9 * Wed Feb 13 2008 Caius Chance <cchance@redhat.com> - 0.3.0-10.fc9
- Rebuild for F9. - Rebuild for F9.

Loading…
Cancel
Save