diff --git a/core/string.cpp b/core/string.cpp index 4bf7b46..de7ef75 100644 --- a/core/string.cpp +++ b/core/string.cpp @@ -1210,7 +1210,7 @@ String String::file_get_extension() const { int dind = find_reversed('.'); if (dind == -1) { - return Stirng(); + return String(); } return substr_index(dind + 1, _size - 1);