From 1b47522de838c055fd8925537ff1a2c42ddfe540 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Sat, 2 Jan 2021 16:04:23 +0100 Subject: [PATCH] Fix YaPlugView::IsPlatformTypeSupported logging Even though this branch will never be hit. --- src/common/logging/vst3.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/common/logging/vst3.cpp b/src/common/logging/vst3.cpp index 5cebc1eb..900d1a22 100644 --- a/src/common/logging/vst3.cpp +++ b/src/common/logging/vst3.cpp @@ -357,6 +357,8 @@ bool Vst3Logger::log_request( if (request.type == Steinberg::kPlatformTypeX11EmbedWindowID) { message << "\" (will be translated to \"" << Steinberg::kPlatformTypeHWND << "\")"; + } else { + message << "\""; } message << ")"; }); @@ -371,6 +373,8 @@ bool Vst3Logger::log_request(bool is_host_vst, if (request.type == Steinberg::kPlatformTypeX11EmbedWindowID) { message << "\" (will be translated to \"" << Steinberg::kPlatformTypeHWND << "\")"; + } else { + message << "\""; } message << ")"; });