diff options
Diffstat (limited to 'include/Path.hpp')
-rw-r--r-- | include/Path.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/Path.hpp b/include/Path.hpp index 67e6942..a881a53 100644 --- a/include/Path.hpp +++ b/include/Path.hpp @@ -39,7 +39,7 @@ namespace QuickMedia { return data.substr(name - data.data(), extension - name); } - // Returns empty string if no extension + // Returns extension with the dot. Returns empty string if no extension const char* ext() const { size_t slash_index = data.rfind('/'); size_t index = data.rfind('.'); |