of library pieces overhauled. ``size`` is now the in-game
size, and the SVG size is obtained from the SVG.
Library catalogues must be overhauled.
+ - In library group ``sort`` parameters, when colouring, ``_c``
+ is correctly replaced by the colour *abbreviation*, rather than
+ the descriptive string.
* - ``1``
- 0.x - `1.0.0 <https://www.chiark.greenend.org.uk/~ianmdlvl/otter/1.0.0/docs/README.html>`_
sort, &fe.desc.clone())?;
} else {
for (colour, recolourdata) in &group.d.colours {
- let t_sort = sort.as_ref().map(
- |s| subst(s, "_c", colour)).transpose()?;
let c_abbrev = &recolourdata.abbrev;
+ let t_sort = sort.as_ref().map(
+ |s| subst(s, "_c", c_abbrev)).transpose()?;
let t_item_name = subst(item_name.as_str(), "_c", c_abbrev)?;
let t_src_name = subst(&fe.src_file_spec, "_c", c_abbrev);
let t_src_name = t_src_name.as_ref().map(|s| s.as_str());