diff options
author | George L. Albany <Megacake1234@gmail.com> | 2024-11-19 22:29:10 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-19 22:29:10 +0000 |
commit | fd9045fe09e9bea691f0169c16d45cbebddb6bba (patch) | |
tree | 148a5511d3c1d723b2f2f364c832c2ba6f267fcc /platform/android/export/export_plugin.cpp | |
parent | 9767837a7ec40697788765e581131cb2cf172567 (diff) | |
parent | cfc378b251e4330c6b6be949d4c054f9bae48159 (diff) | |
download | redot-engine-fd9045fe09e9bea691f0169c16d45cbebddb6bba.tar.gz |
Merge pull request #873 from Spartan322/merge/fd4c29a
Merge commit godotengine/godot@fd4c29a
Diffstat (limited to 'platform/android/export/export_plugin.cpp')
-rw-r--r-- | platform/android/export/export_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/export/export_plugin.cpp b/platform/android/export/export_plugin.cpp index 666c8d634a..3424df2969 100644 --- a/platform/android/export/export_plugin.cpp +++ b/platform/android/export/export_plugin.cpp @@ -1566,7 +1566,7 @@ void EditorExportPlatformAndroid::_fix_resources(const Ref<EditorExportPreset> & str = get_project_name(package_name); } else { - String lang = str.substr(str.rfind("-") + 1, str.length()).replace("-", "_"); + String lang = str.substr(str.rfind_char('-') + 1, str.length()).replace("-", "_"); if (appnames.has(lang)) { str = appnames[lang]; } else { |