From 592b5acdf108cf6fbf249e2a2c164677969b0b6d Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Mon, 4 May 2020 00:21:44 +0200 Subject: [PATCH] Fix small typos --- meson_options.txt | 2 +- src/plugin/host-bridge.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/meson_options.txt b/meson_options.txt index 48f8c13b..3ec087c3 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -9,5 +9,5 @@ option( 'use-winedbg', type : 'boolean', value : false, - description : 'Whether to run the Wien VST host with GDB attached. Might not always be reliable.' + description : 'Whether to run the Wine VST host with GDB attached. Might not always be reliable.' ) diff --git a/src/plugin/host-bridge.cpp b/src/plugin/host-bridge.cpp index 06ad4268..35221585 100644 --- a/src/plugin/host-bridge.cpp +++ b/src/plugin/host-bridge.cpp @@ -312,6 +312,7 @@ class DispatchDataConverter : DefaultDataConverter { break; case effGetMidiKeyName: return *static_cast(data); + break; // Any VST host I've encountered has properly zeroed out these their // string buffers, but we'll add a list of opcodes that should // return a string just in case `DefaultDataConverter::read()` can't @@ -436,7 +437,7 @@ intptr_t HostBridge::dispatch(AEffect* /*plugin*/, logger.log("The plugin crashed during shutdown, ignoring"); } - // Boost.Process will send SIGKILL to the Wien host for us when this + // Boost.Process will send SIGKILL to the Wine host for us when this // class gets destroyed. Because the process is running a few // threads Wine will say something about a segfault (probably // related to `std::terminate`), but this doesn't seem to have any