fix compose mess, and a number of 64 bit printf specs
[ardour.git] / gtk2_ardour / keyboard_target.cc
index e671578e4f21d85515b44b795b18726113e76f66..71e4e9652e95dddccc9f2240dd74d24567ad70b8 100644 (file)
@@ -75,12 +75,12 @@ KeyboardTarget::add_binding (string keystring, string action)
        }
 
        if (state.size() == 0) {
-               error << compose(_("KeyboardTarget: no translation found for \"%1\""), keystring) << endmsg;
+               error << string_compose(_("KeyboardTarget: no translation found for \"%1\""), keystring) << endmsg;
                return -1;
        }
 
        if (find_action (action, key_action)) {
-               error << compose(_("KeyboardTarget: unknown action \"%1\""), action) << endmsg;
+               error << string_compose(_("KeyboardTarget: unknown action \"%1\""), action) << endmsg;
                return -1;
        }