formatting change

This commit is contained in:
Nishi 2026-09-23 20:18:46 +09:00
commit 2f1cc2607e
48 changed files with 217 additions and 479 deletions

View file

@ -31,8 +31,7 @@
#include "sj_kanakan.h"
TypeDicSeg
srchidx(SJ4_CONTEXT TypeDicSeg low, int len) {
TypeDicSeg srchidx(SJ4_CONTEXT TypeDicSeg low, int len) {
TypeDicSeg high;
TypeDicSeg mid;
int cmp;
@ -52,13 +51,9 @@ srchidx(SJ4_CONTEXT TypeDicSeg low, int len) {
if(cmp == OVER) {
high = mid - 1;
}
else if(cmp != MATCH) {
} else if(cmp != MATCH) {
low = mid + 1;
}
else {
} else {
return mid;
}
}