diff options
author | Doug Zongker <dougz@android.com> | 2009-06-15 05:49:32 +0200 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-06-15 05:49:32 +0200 |
commit | cf2b2a2e8fc0361b9db5826c2e5c92d9cb5920d3 (patch) | |
tree | 5147d4b4add3e2dc17f5404254e8ef3be80fd23c /edify/expr.c | |
parent | am 9dbc027b: fix sim build in donut, too (diff) | |
parent | edify extensions for OTA package installation, part 2 (diff) | |
download | android_bootable_recovery-cf2b2a2e8fc0361b9db5826c2e5c92d9cb5920d3.tar android_bootable_recovery-cf2b2a2e8fc0361b9db5826c2e5c92d9cb5920d3.tar.gz android_bootable_recovery-cf2b2a2e8fc0361b9db5826c2e5c92d9cb5920d3.tar.bz2 android_bootable_recovery-cf2b2a2e8fc0361b9db5826c2e5c92d9cb5920d3.tar.lz android_bootable_recovery-cf2b2a2e8fc0361b9db5826c2e5c92d9cb5920d3.tar.xz android_bootable_recovery-cf2b2a2e8fc0361b9db5826c2e5c92d9cb5920d3.tar.zst android_bootable_recovery-cf2b2a2e8fc0361b9db5826c2e5c92d9cb5920d3.zip |
Diffstat (limited to 'edify/expr.c')
-rw-r--r-- | edify/expr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/edify/expr.c b/edify/expr.c index 129fbd96b..5470a2bac 100644 --- a/edify/expr.c +++ b/edify/expr.c @@ -283,7 +283,7 @@ static int fn_size = 0; NamedFunction* fn_table = NULL; void RegisterFunction(const char* name, Function fn) { - if (fn_entries <= fn_size) { + if (fn_entries >= fn_size) { fn_size = fn_size*2 + 1; fn_table = realloc(fn_table, fn_size * sizeof(NamedFunction)); } |