Merge pull request #6574 from RandomShaper/fix-android-export

Fix manifest generation bug in Android export
This commit is contained in:
Rémi Verschelde 2016-09-23 07:28:04 +02:00 committed by GitHub
commit 2af6b3dd1b

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();