diff options
author | sanikoyes <sanikoyes@163.com> | 2014-03-11 13:57:59 +0800 |
---|---|---|
committer | sanikoyes <sanikoyes@163.com> | 2014-03-11 13:57:59 +0800 |
commit | 4927acd7ad718cb7b3f720bb48742928393160e3 (patch) | |
tree | a279808b36415b52c4cacafac81e43d176d9e682 | |
parent | 87fd1532159c18efc06524f2715ed74b3e32ddee (diff) |
export a unicode font may crash because chunks out of range...
set MemoryPoolDynamicStatic::MAX_CHUNKS to 65536
-rw-r--r-- | core/os/memory_pool_dynamic_static.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/os/memory_pool_dynamic_static.h b/core/os/memory_pool_dynamic_static.h index ce038bc00a..d10cdb3d0a 100644 --- a/core/os/memory_pool_dynamic_static.h +++ b/core/os/memory_pool_dynamic_static.h @@ -38,7 +38,7 @@ class MemoryPoolDynamicStatic : public MemoryPoolDynamic { _THREAD_SAFE_CLASS_ enum { - MAX_CHUNKS=16384 + MAX_CHUNKS=65536 }; |