Fix typo.

This commit is contained in:
Relintai 2022-02-06 13:44:21 +01:00
parent 1060f85089
commit ecf3daf5cb

View File

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