diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-11-30 01:54:13 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-11-30 01:54:13 +0000 |
commit | 6fe7e0dea117988e777131b33e4901894ba51504 (patch) | |
tree | 44e8d2bffa63b845a0afccdc7afed63556355371 | |
parent | 01acbbea8030d789d9324c4c93e13d2c2d7315f4 (diff) |
fix segfault in preferences dialog caused by incorrect use of S_(). i've checked all other uses in gtk2_ardour and cleared them
git-svn-id: svn://localhost/ardour2/branches/3.0@10839 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r-- | gtk2_ardour/rc_option_editor.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk2_ardour/rc_option_editor.cc b/gtk2_ardour/rc_option_editor.cc index 494e088552..97254a05f3 100644 --- a/gtk2_ardour/rc_option_editor.cc +++ b/gtk2_ardour/rc_option_editor.cc @@ -310,7 +310,9 @@ public: for (int x = 0; modifiers[x].name; ++x) { if (modifiers[x].modifier == Keyboard::edit_modifier ()) { - _edit_modifier_combo.set_active_text (S_(modifiers[x].name)); + string lookup_str = "key|"; + lookup_str += modifiers[x].name; + _edit_modifier_combo.set_active_text (S_(lookup_str.c_str())); break; } } |