From f25432d988641a538709632dfa85baee054f01e9 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 5 Feb 2013 03:25:18 +0000 Subject: Fix bad format strings. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5048 a436a847-0d15-0410-975c-d299462d15a1 --- src/PatchageEvent.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/PatchageEvent.cpp') diff --git a/src/PatchageEvent.cpp b/src/PatchageEvent.cpp index bfffa3e..e718a88 100644 --- a/src/PatchageEvent.cpp +++ b/src/PatchageEvent.cpp @@ -88,7 +88,7 @@ PatchageEvent::execute(Patchage* patchage) patchage->error_msg((format("Unable to find port `%1%' to connect") % _port_1).str()); else if (!port_2) - patchage->error_msg((format("Unable to find port `%1' to connect") + patchage->error_msg((format("Unable to find port `%1%' to connect") % _port_2).str()); else patchage->canvas()->make_connection( @@ -100,10 +100,10 @@ PatchageEvent::execute(Patchage* patchage) PatchagePort* port_2 = patchage->canvas()->find_port(_port_2); if (!port_1) - patchage->error_msg((format("Unable to find port `%1' to disconnect") + patchage->error_msg((format("Unable to find port `%1%' to disconnect") % _port_1).str()); else if (!port_2) - patchage->error_msg((format("Unable to find port `%1' to disconnect") + patchage->error_msg((format("Unable to find port `%1%' to disconnect") % _port_2).str()); else patchage->canvas()->remove_edge(port_1, port_2); -- cgit v1.2.1