diff options
author | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2016-09-21 12:46:40 +0200 |
---|---|---|
committer | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2016-09-21 12:46:40 +0200 |
commit | 2c9d98bb4869ad8a8ec7af9ba0c8dd7d7c243fb5 (patch) | |
tree | 1b14f1726598ae7c2410176db26d23ad0838fa62 /platform | |
parent | c05ff0577fd9cc39a6968e65743f7d7da711bfe2 (diff) |
Fix manifest generation bug in Android export
Diffstat (limited to 'platform')
-rw-r--r-- | platform/android/export/export.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/platform/android/export/export.cpp b/platform/android/export/export.cpp index 8f3edfcaa7..4735a91f43 100644 --- a/platform/android/export/export.cpp +++ b/platform/android/export/export.cpp @@ -913,15 +913,13 @@ void EditorExportPlatformAndroid::_fix_manifest(Vector<uint8_t>& p_manifest,bool } - ret.resize(ret.size()+stable_extra.size()); - while(ret.size()%4) - ret.push_back(0); - for(int i=0;i<stable_extra.size();i++) { - - chars[i]=stable_extra[i]; + ret.push_back(stable_extra[i]); } + while(ret.size()%4) + ret.push_back(0); + uint32_t new_stable_end=ret.size(); |