projects
/
m17n
/
m17n-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6f32c4
)
(M17N_OBJECT_REGISTER): Check the member `used' (not
author
handa
<handa>
Mon, 29 Mar 2004 03:50:03 +0000
(
03:50
+0000)
committer
handa
<handa>
Mon, 29 Mar 2004 03:50:03 +0000
(
03:50
+0000)
`count') to initialize the array.
src/internal.h
patch
|
blob
|
history
diff --git
a/src/internal.h
b/src/internal.h
index
597abc8
..
5df41ea
100644
(file)
--- a/
src/internal.h
+++ b/
src/internal.h
@@
-345,7
+345,7
@@
typedef struct
#define M17N_OBJECT_REGISTER(array, object) \
if (mdebug__flag & MDEBUG_FINI) \
{ \
- if ((array).count == 0) \
+ if ((array).used == 0) \
MLIST_INIT1 (&(array), objects, 256); \
(array).count++; \
MLIST_APPEND1 (&(array), objects, object, MERROR_OBJECT); \