summaryrefslogtreecommitdiff
path: root/gtk2_ardour/rc_option_editor.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2011-02-05 16:40:33 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2011-02-05 16:40:33 +0000
commitaffc5b0c0d42b5bad50eced0a482786b3e1cc6f4 (patch)
tree1f21f0bf48891561a11258ebaf25b6d6bb206a14 /gtk2_ardour/rc_option_editor.cc
parent11b22d503d0c2625e8b82fca02e0016154fac94b (diff)
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
Diffstat (limited to 'gtk2_ardour/rc_option_editor.cc')
-rw-r--r--gtk2_ardour/rc_option_editor.cc4
1 files 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);