Fix manifest generation bug in Android export

This commit is contained in:
Pedro J. Estébanez 2016-09-21 12:46:40 +02:00
parent c05ff0577f
commit 2c9d98bb48
1 changed files with 4 additions and 6 deletions

View File

@ -913,15 +913,13 @@ void EditorExportPlatformAndroid::_fix_manifest(Vector<uint8_t>& p_manifest,bool
}
ret.resize(ret.size()+stable_extra.size());
for(int i=0;i<stable_extra.size();i++) {
ret.push_back(stable_extra[i]);
}
while(ret.size()%4)
ret.push_back(0);
for(int i=0;i<stable_extra.size();i++) {
chars[i]=stable_extra[i];
}
uint32_t new_stable_end=ret.size();