diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-06-13 21:53:57 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-06-13 21:53:57 +0000 |
commit | 22a4f44939659e4bb2801579d51c5a1bfd3a6e2c (patch) | |
tree | 03fe1ff21c5ec17f6ca9d229075c66ea037eea80 /libs/ardour/pannable.cc | |
parent | 395ba6b0d4d612d2b606a2d3e894d0d2c19ec85d (diff) |
a real, working fix for panning regression in alpha6
git-svn-id: svn://localhost/ardour2/branches/3.0@9725 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/pannable.cc')
-rw-r--r-- | libs/ardour/pannable.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libs/ardour/pannable.cc b/libs/ardour/pannable.cc index fb890a5e34..ba4632f2b0 100644 --- a/libs/ardour/pannable.cc +++ b/libs/ardour/pannable.cc @@ -236,27 +236,27 @@ Pannable::set_state (const XMLNode& root, int version) /* old school (alpha1-6) XML info */ - if ((*niter)->name() == pan_azimuth_control->name()) { + if ((*niter)->name() == X_("azimuth")) { prop = (*niter)->property (X_("value")); if (prop) { pan_azimuth_control->set_value (atof (prop->value())); } - } else if ((*niter)->name() == pan_width_control->name()) { + } else if ((*niter)->name() == X_("width")) { prop = (*niter)->property (X_("value")); if (prop) { pan_width_control->set_value (atof (prop->value())); } - } else if ((*niter)->name() == pan_elevation_control->name()) { + } else if ((*niter)->name() == X_("elevation")) { prop = (*niter)->property (X_("value")); if (prop) { pan_elevation_control->set_value (atof (prop->value())); } - } else if ((*niter)->name() == pan_frontback_control->name()) { + } else if ((*niter)->name() == X_("frontback")) { prop = (*niter)->property (X_("value")); if (prop) { pan_frontback_control->set_value (atof (prop->value())); } - } else if ((*niter)->name() == pan_lfe_control->name()) { + } else if ((*niter)->name() == X_("lfe")) { prop = (*niter)->property (X_("value")); if (prop) { pan_lfe_control->set_value (atof (prop->value())); |