diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-04-12 17:35:02 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-04-12 17:35:02 +0100 |
| commit | 86346ad4f67810e1dadad5d22fbc676b02c7faa7 (patch) | |
| tree | d9cce4173fd6100d9d0266ce611bb0ad713b0a72 /src/lib/ratio.cc | |
| parent | 3ff8c72499f32769969fc6bd77322e7c84264d7f (diff) | |
Hand-apply c165ea8ccadf5bb8c4401a23bb2e998fabdc8a9b from master.
Diffstat (limited to 'src/lib/ratio.cc')
| -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; |
