mirror of
https://github.com/Ylianst/MeshAgent
synced 2025-12-15 15:53:55 +00:00
Updated nativeAddCompressModule()
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -52,7 +52,7 @@ function nativeAddCompressedModule(name)
|
||||
{
|
||||
// MS Visual Studio has a maxsize limitation
|
||||
var tmp = vstring;
|
||||
ret = 'char *_' + name.split('-').join('') + ' = ILibMemory_Allocate(' + (tmp.length + value.length + 2) + ', 0, NULL, NULL);\n';
|
||||
ret = 'char *_' + name.split('-').join('') + ' = ILibMemory_Allocate(' + (tmp.length + 1) + ', 0, NULL, NULL);\n';
|
||||
var i = 0;
|
||||
while (i < tmp.length)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user