From b53d207f441af238ba529501b78832241abd4ca5 Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Sat, 23 Dec 2017 11:43:41 +0200 Subject: [PATCH] Update file_helper.h --- include/spdlog/details/file_helper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: