aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee/src/string_tools.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/epee/src/string_tools.cpp')
-rw-r--r--contrib/epee/src/string_tools.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/epee/src/string_tools.cpp b/contrib/epee/src/string_tools.cpp
index 7ab3002b9..43f7aca9d 100644
--- a/contrib/epee/src/string_tools.cpp
+++ b/contrib/epee/src/string_tools.cpp
@@ -212,7 +212,7 @@ namespace string_tools
//----------------------------------------------------------------------------
std::string cut_off_extension(const std::string& str)
{
- return boost::filesystem::path(str).stem().string();
+ return boost::filesystem::path(str).replace_extension("").string();
}
#ifdef _WIN32