You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libchewing/libchewing-0.3.0-8.bz237916...

21 lines
818 B

--- 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 );