parent
d95a636683
commit
1ea3e197a6
@ -0,0 +1,20 @@
|
|||||||
|
--- libchewing-0.3.0/src/chewingutil.c.orig 2007-05-30 18:06:40.000000000 +1000
|
||||||
|
+++ libchewing-0.3.0/src/chewingutil.c 2007-05-30 18:07:20.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 );
|
Loading…
Reference in new issue