12345678910111213141516171819202122232425262728293031323334 |
- $OpenBSD: patch-gtk2_ardour_ardour_ui_cc,v 1.2 2017/05/25 09:02:05 espie Exp $
- Fix non-sensical comparisons
- Index: gtk2_ardour/ardour_ui.cc
- --- gtk2_ardour/ardour_ui.cc.orig
- +++ gtk2_ardour/ardour_ui.cc
- @@ -716,7 +716,7 @@ ARDOUR_UI::check_memory_locking ()
- "This might cause %1 to run out of memory before your system "
- "runs out of memory. \n\n"
- "You can view the memory limit with 'ulimit -l', "
- - "and it is normally controlled by /etc/security/limits.conf"), PROGRAM_NAME));
- + "and it is normally controlled by /etc/login.conf"), PROGRAM_NAME));
-
- VBox* vbox = msg.get_vbox();
- HBox hbox;
- @@ -1964,7 +1964,7 @@ ARDOUR_UI::name_io_setup (AudioEngine& engine,
-
- const char **connections = io.input(0)->get_connections();
-
- - if (connections == 0 || connections[0] == '\0') {
- + if (connections == 0 || connections[0] == 0) {
- buf = _("off");
- } else {
- buf = connections[0];
- @@ -1983,7 +1983,7 @@ ARDOUR_UI::name_io_setup (AudioEngine& engine,
-
- const char **connections = io.output(0)->get_connections();
-
- - if (connections == 0 || connections[0] == '\0') {
- + if (connections == 0 || connections[0] == 0) {
- buf = _("off");
- } else {
- buf = connections[0];
|