fs/Path: rename GetSuffix() to GetExtension()
The "extension" is the name after the dot, but the "suffix" is the string including the dot.
This commit is contained in:
@@ -34,7 +34,7 @@ playlist_open_path_suffix(Path path, Mutex &mutex)
|
||||
try {
|
||||
assert(!path.IsNull());
|
||||
|
||||
const auto *suffix = path.GetSuffix();
|
||||
const auto *suffix = path.GetExtension();
|
||||
if (suffix == nullptr)
|
||||
return nullptr;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user