From f06a1bc9bd65ff3a34fc6fd4dc4b55056aaaaeec Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 8 Apr 2021 14:35:59 -0400 Subject: Fix crash on client disconnection --- NEWS | 3 ++- src/event_to_string.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index 0b8f950..c1e44c5 100644 --- a/NEWS +++ b/NEWS @@ -1,8 +1,9 @@ patchage (1.0.5) unstable; + * Fix crash on client disconnection * Show latency in toolbar with 2 decimal places - -- David Robillard Thu, 08 Apr 2021 18:30:02 +0000 + -- David Robillard Thu, 08 Apr 2021 18:35:43 +0000 patchage (1.0.4) stable; diff --git a/src/event_to_string.cpp b/src/event_to_string.cpp index d898845..43c4eb6 100644 --- a/src/event_to_string.cpp +++ b/src/event_to_string.cpp @@ -73,7 +73,7 @@ struct EventPrinter { std::string operator()(const ClientDestructionEvent& event) { - return fmt::format(R"(Add{} {} {} port "{}" ("{}"))", event.id); + return fmt::format(R"(Remove client "{}")", event.id); } std::string operator()(const PortType port_type) -- cgit v1.2.1