diff options
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/ratio.cc | 5 |
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; |
