summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/ratio.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/ratio.cc b/src/lib/ratio.cc
index e9b57e2e1..6edd154e0 100644
--- a/src/lib/ratio.cc
+++ b/src/lib/ratio.cc
@@ -45,6 +45,11 @@ Ratio::setup_ratios ()
Ratio const *
Ratio::from_id (string i)
{
+ /* We removed the ratio with id 137; replace it with 138 */
+ if (i == "137") {
+ i = "138";
+ }
+
vector<Ratio const *>::iterator j = _ratios.begin ();
while (j != _ratios.end() && (*j)->id() != i) {
++j;