fix to compile with new dictiter files

This commit is contained in:
Andy2 2011-10-31 21:11:22 -07:00
parent 3b04cb542c
commit 11b7ed1e8e
2 changed files with 3 additions and 1 deletions

View file

@ -48,6 +48,7 @@ common_SRC_FILES += \
$(COMMON_PATH)/pool.c \
$(COMMON_PATH)/tray.c \
$(COMMON_PATH)/dictnry.c \
$(COMMON_PATH)/dictiter.c \
$(COMMON_PATH)/mscore.c \
$(COMMON_PATH)/vtabmgr.c \
$(COMMON_PATH)/strutils.c \

View file

@ -29,6 +29,7 @@
#include "mempool.h"
#include "strutils.h"
#include "dictnry.h"
#include "dictiter.h"
#include "utilwrapper.h"
#include "drawwrapper.h"
@ -1353,7 +1354,7 @@ Java_org_eehouse_android_xw4_jni_XwJNI_dict_1iter_1makeIndex
DictIterData* data = (DictIterData*)closure;
if ( NULL != data ) {
data->depth = 2; /* for now */
DictIndex indices[32*32];
DictPosition indices[32*32];
Tile prefixes[data->depth*32*32];
IndexData idata = { .indices = indices,
.prefixes = prefixes,