rpms/libchewing/F-7 libchewing-0.3.0-8.bz242605.patch, NONE, 1.1 libchewing.spec, 1.14, 1.15
Caius Chance (cchance)
fedora-extras-commits at redhat.com
Tue Jun 5 02:35:10 UTC 2007
Author: cchance
Update of /cvs/pkgs/rpms/libchewing/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24454
Modified Files:
libchewing.spec
Added Files:
libchewing-0.3.0-8.bz242605.patch
Log Message:
* Tue Jun 05 2007 Caius Chance <cchance at redhat.com> - 0.3.0-8.fc7
- Fixed bz#242605: [chewing] Candidate list (symbol) page change inaccracy.
libchewing-0.3.0-8.bz242605.patch:
--- NEW FILE libchewing-0.3.0-8.bz242605.patch ---
--- ./libchewing-0.3.0/src/chewingutil.c.orig 2007-05-30 23:45:58.000000000 +1000
+++ ./libchewing-0.3.0/src/chewingutil.c 2007-05-30 23:46:40.000000000 +1000
@@ -133,7 +133,7 @@ int HaninSymbolInput(
pai->avail[ 0 ].id = -1;
pai->nAvail = 1;
pai->currentAvail = 0;
- pci->nChoicePerPage = (selectAreaLen - 5) / ( 2 + 3) ;
+ pci->nChoicePerPage = selectAreaLen;
if ( pci->nChoicePerPage > MAX_SELKEY ) {
pci->nChoicePerPage = MAX_SELKEY;
}
@@ -982,7 +982,7 @@ int OpenSymbolChoice( ChewingData *pgdat
pci->nTotalChoice++;
}
- pci->nChoicePerPage = (pgdata->config.selectAreaLen - 5) / ( 2 + 3) ;
+ pci->nChoicePerPage = pgdata->config.selectAreaLen;
if ( pci->nChoicePerPage > MAX_SELKEY )
pci->nChoicePerPage = MAX_SELKEY ;
pci->nPage = CEIL_DIV( pci->nTotalChoice, pci->nChoicePerPage );
Index: libchewing.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libchewing/F-7/libchewing.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- libchewing.spec 20 Apr 2007 07:23:52 -0000 1.14
+++ libchewing.spec 5 Jun 2007 02:34:21 -0000 1.15
@@ -1,6 +1,6 @@
Name: libchewing
Version: 0.3.0
-Release: 7%{?dist}
+Release: 8%{?dist}
Summary: Intelligent phonetic input method library for Traditional Chinese
Group: System Environment/Libraries
@@ -13,6 +13,7 @@
Patch3: libchewing-0.3.0-5.bz216581b.patch
Patch4: libchewing-0.3.0-6.bz231568.patch
Patch5: libchewing-0.3.0-7.bz237233.patch
+Patch6: libchewing-0.3.0-8.bz242605.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-root
@@ -40,6 +41,7 @@
%patch3 -p1 -b .4-bz216581b
%patch4 -p1 -b .5-bz231568
%patch5 -p1 -b .6-bz237233
+%patch6 -p2 -b .7-bz242605
%build
%configure --disable-static
@@ -73,6 +75,9 @@
%{_libdir}/*.so
%changelog
+* Tue Jun 05 2007 Caius Chance <cchance at redhat.com> - 0.3.0-8.fc7
+- Fixed bz#242605: [chewing] Candidate list (symbol) page change inaccracy.
+
* Fri Apr 20 2007 Caius Chance <cchance at redhat.com> - 0.3.0-7.fc7
- Fixed bz#237233: Up arrow on candidate list doesn't work.
More information about the fedora-extras-commits
mailing list