diff --git a/include/spdlog/details/file_helper.h b/include/spdlog/details/file_helper.h index 5162e3c1..72fc0936 100644 --- a/include/spdlog/details/file_helper.h +++ b/include/spdlog/details/file_helper.h @@ -134,7 +134,7 @@ public: if (folder_index != fname.npos && folder_index >= ext_index - 1) return std::make_tuple(fname, spdlog::filename_t()); - // finally - return a valid base and extnetion tuple + // finally - return a valid base and extension tuple return std::make_tuple(fname.substr(0, ext_index), fname.substr(ext_index)); } private: