Skip to content

Commit 474a75f

Browse files
committed
Fix file extension parsing
1 parent 0646802 commit 474a75f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fileLister.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ struct T_FILE
1212
T_FILE(std::string p_name, bool is_symlink, unsigned long int p_size = 0)
1313
: m_name(std::move(p_name)),
1414
is_symlink(is_symlink),
15-
m_ext(File_utils::getLowercaseFileExtension(p_name)),
15+
m_ext(File_utils::getLowercaseFileExtension(m_name)),
1616
m_size(p_size) {}
1717
T_FILE(const T_FILE &p_source) = default;
1818
T_FILE &operator=(const T_FILE &p_source) = default;

0 commit comments

Comments
 (0)