summaryrefslogtreecommitdiff
path: root/platform/android/export
diff options
context:
space:
mode:
authorNils ANDRÉ-CHANG <nils.andre.chang@gmail.com>2019-06-16 13:31:57 +0100
committerNils ANDRÉ-CHANG <nils.andre.chang@gmail.com>2019-06-23 13:33:50 +0100
commitd2833d4f4d891b6a0ee32a04f9d32a410b998b93 (patch)
tree3e1ce371e8edfb4f30571adb1e3c2b0b4a0a3389 /platform/android/export
parentf410e7a8a9b14fd9f5c210afcc9e3519e9ce246d (diff)
Replace ` + "/" + ` with `String::file_add()`
Diffstat (limited to 'platform/android/export')
-rw-r--r--platform/android/export/export.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/export/export.cpp b/platform/android/export/export.cpp
index 30267aa968..a336402686 100644
--- a/platform/android/export/export.cpp
+++ b/platform/android/export/export.cpp
@@ -597,7 +597,7 @@ class EditorExportPlatformAndroid : public EditorExportPlatform {
if (abi_index != -1) {
exported = true;
String abi = abis[abi_index];
- String dst_path = "lib/" + abi + "/" + p_so.path.get_file();
+ String dst_path = String("lib").plus_file(abi).plus_file(p_so.path.get_file());
Vector<uint8_t> array = FileAccess::get_file_as_array(p_so.path);
Error store_err = store_in_apk(ed, dst_path, array);
ERR_FAIL_COND_V(store_err, store_err);