summarylogtreecommitdiffstats
path: root/openvibe_boost1.88_filesystem.patch
blob: 2b027aafbc95a293fd986b1b5766a4ab46738ab4 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/designer/applications/platform/designer/src/CInterfacedScenario.cpp
+++ b/designer/applications/platform/designer/src/CInterfacedScenario.cpp
@@ -2406,7 +2406,7 @@
 						id.fromString(box->getAttributeValue(OVP_AttributeId_Metabox_ID));
 
 						std::string path(m_kernelCtx.getMetaboxManager().getMetaboxFilePath(id).toASCIIString());
-						std::string ext    = boost::filesystem::extension(path);
+						std::string ext    = boost::filesystem::path(path).extension().string();
 						bool canImportFile = false;
 
 						CString fileExt;