Mercurial > freewnn
diff 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 |
line wrap: on
line diff
--- a/Wnn/jserver/b_index.c Thu Dec 13 04:30:14 2007 +0900 +++ b/Wnn/jserver/b_index.c Thu Dec 13 04:47:24 2007 +0900 @@ -314,7 +314,7 @@ return (i); } if (b_cnt++ >= jt->bufsize_bnode) /* Use new b_nodes */ - if (rd_realloc_bind (jt) == NULL) /* realloc jt->bind */ + if (rd_realloc_bind (jt) == 0) /* realloc jt->bind */ return (-1); return (jt->bufsize_bnode = b_cnt); /* Not re-alloc */ }