From 058eb9f2ee152d293d07978781f7183fc3b5a4ce Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Tue, 27 Oct 2020 11:56:00 +0100 Subject: [PATCH] Fix winedbg warning --- src/plugin/host-process.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugin/host-process.cpp b/src/plugin/host-process.cpp index 48ae621c..fa46d623 100644 --- a/src/plugin/host-process.cpp +++ b/src/plugin/host-process.cpp @@ -104,7 +104,7 @@ IndividualHost::IndividualHost(boost::asio::io_context& io_context, #endif )) { #ifdef WITH_WINEDBG - if (plugin_path.string().find(' ') != std::string::npos) { + if (plugin_path.filename().string().find(' ') != std::string::npos) { logger.log("Warning: winedbg does not support paths containing spaces"); } #endif