Fix winedbg warning

This commit is contained in:
Robbert van der Helm
2020-10-27 11:56:00 +01:00
parent dc72dd97a5
commit 058eb9f2ee
+1 -1
View File
@@ -104,7 +104,7 @@ IndividualHost::IndividualHost(boost::asio::io_context& io_context,
#endif #endif
)) { )) {
#ifdef WITH_WINEDBG #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"); logger.log("Warning: winedbg does not support paths containing spaces");
} }
#endif #endif