diff options
Diffstat (limited to 'editor/engine_update_label.cpp')
-rw-r--r-- | editor/engine_update_label.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/engine_update_label.cpp b/editor/engine_update_label.cpp index 08c2732c49..4096f74c69 100644 --- a/editor/engine_update_label.cpp +++ b/editor/engine_update_label.cpp @@ -242,8 +242,8 @@ EngineUpdateLabel::VersionType EngineUpdateLabel::_get_version_type(const String } String EngineUpdateLabel::_extract_sub_string(const String &p_line) const { - int j = p_line.find("\"") + 1; - return p_line.substr(j, p_line.find("\"", j) - j); + int j = p_line.find_char('"') + 1; + return p_line.substr(j, p_line.find_char('"', j) - j); } void EngineUpdateLabel::_notification(int p_what) { |