diff options
Diffstat (limited to 'src/tools/src2html.cpp')
| -rw-r--r-- | src/tools/src2html.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/src2html.cpp b/src/tools/src2html.cpp index 9d89a7d220f..e64fa12a162 100644 --- a/src/tools/src2html.cpp +++ b/src/tools/src2html.cpp @@ -411,7 +411,7 @@ static int recurse_dir(int srcrootlen, int dstrootlen, std::string &srcdir, std: // make sure we care, first file_type type = FILE_TYPE_INVALID; for (auto & elem : extension_lookup) - if (core_filename_ends_with(curlist->name.c_str(), elem.extension)) + if (core_filename_ends_with(curlist->name, elem.extension)) { type = elem.type; break; |
