From affc5b0c0d42b5bad50eced0a482786b3e1cc6f4 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sat, 5 Feb 2011 16:40:33 +0000 Subject: [PATCH] increase available explicit range of "number of processors to use" to include the full count (even though this is also accessible as "all") git-svn-id: svn://localhost/ardour2/branches/3.0@8721 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/rc_option_editor.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk2_ardour/rc_option_editor.cc b/gtk2_ardour/rc_option_editor.cc index 4a70586e55..a19e8e96d2 100644 --- a/gtk2_ardour/rc_option_editor.cc +++ b/gtk2_ardour/rc_option_editor.cc @@ -782,8 +782,8 @@ RCOptionEditor::RCOptionEditor () procs->add (-1, _("all but one processor")); procs->add (0, _("all available processors")); - for (uint32_t i = 2; i < hwcpus; ++i) { - procs->add (1, string_compose (_("%1 processors"), i)); + for (uint32_t i = 1; i <= hwcpus; ++i) { + procs->add (i, string_compose (_("%1 processors"), i)); } add_option (_("Misc"), procs);