diff options
author | David Robillard <d@drobilla.net> | 2013-02-05 03:25:18 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2013-02-05 03:25:18 +0000 |
commit | f25432d988641a538709632dfa85baee054f01e9 (patch) | |
tree | 05b39f0be8310423b00ed7b33902db0dfee772ff /src | |
parent | bc2c4c848b14bbdf32ec966595ec3e2bc7def386 (diff) | |
download | patchage-f25432d988641a538709632dfa85baee054f01e9.tar.gz patchage-f25432d988641a538709632dfa85baee054f01e9.tar.bz2 patchage-f25432d988641a538709632dfa85baee054f01e9.zip |
Fix bad format strings.
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5048 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r-- | src/PatchageEvent.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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); |