Mercurial > freewnn
comparison Wnn/jserver/b_index.c @ 1:790205f476c0
applied wnn_dec12.diff
author | Yoshiki Yazawa <yaz@cc.rim.or.jp> |
---|---|
date | Thu, 13 Dec 2007 04:47:24 +0900 |
parents | bbc77ca4def5 |
children | a7ccf412ba02 |
comparison
equal
deleted
inserted
replaced
0:bbc77ca4def5 | 1:790205f476c0 |
---|---|
312 i = free_bnode; | 312 i = free_bnode; |
313 free_bnode = jt->bind[free_bnode].pter_next; | 313 free_bnode = jt->bind[free_bnode].pter_next; |
314 return (i); | 314 return (i); |
315 } | 315 } |
316 if (b_cnt++ >= jt->bufsize_bnode) /* Use new b_nodes */ | 316 if (b_cnt++ >= jt->bufsize_bnode) /* Use new b_nodes */ |
317 if (rd_realloc_bind (jt) == NULL) /* realloc jt->bind */ | 317 if (rd_realloc_bind (jt) == 0) /* realloc jt->bind */ |
318 return (-1); | 318 return (-1); |
319 return (jt->bufsize_bnode = b_cnt); /* Not re-alloc */ | 319 return (jt->bufsize_bnode = b_cnt); /* Not re-alloc */ |
320 } | 320 } |
321 | 321 |
322 /*----------------------------------------------------------------+ | 322 /*----------------------------------------------------------------+ |