From a65ab1d76c09e11ffddb4b8dcffa167b37e76dc6 Mon Sep 17 00:00:00 2001 From: johnwpoliver Date: Sun, 12 May 2013 23:40:15 +0100 Subject: [PATCH] Candidate fix for 0005480: Text in warning window for memory limit not displayed in full. Conf file path was not being passed to string_compose constructor --- gtk2_ardour/ardour_ui.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gtk2_ardour/ardour_ui.cc b/gtk2_ardour/ardour_ui.cc index 4dcb4eb5fa..f75b054add 100644 --- a/gtk2_ardour/ardour_ui.cc +++ b/gtk2_ardour/ardour_ui.cc @@ -815,13 +815,13 @@ ARDOUR_UI::check_memory_locking () "runs out of memory. \n\n" "You can view the memory limit with 'ulimit -l', " "and it is normally controlled by %2"), - PROGRAM_NAME).c_str(), + PROGRAM_NAME, #ifdef __FreeBSD__ - X_("/etc/login.conf") + X_("/etc/login.conf") #else - X_(" /etc/security/limits.conf") + X_(" /etc/security/limits.conf") #endif - ); + ).c_str()); msg.set_default_response (RESPONSE_OK);