diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-10-14 22:15:32 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-10-16 14:26:37 -0700 |
commit | 1d6c1db4a5808da55b0b49f3d6460f3f10f5e917 (patch) | |
tree | c5ba434a26ad10b411fd2d1691cd3887f3c86d15 /scripts/countTranslations.sh | |
parent | 0c769b04b72a1805e1ffa32b4fca5f59fc98431a (diff) | |
download | subsurface-1d6c1db4a5808da55b0b49f3d6460f3f10f5e917.tar.gz |
core: use case-insensitive comparison for device models
The code in core/libdivecomputer.c used string insensitive
comparison for device models, before being merged into core/device.c.
Let's reinstate that behavior, since it appears to be more logical.
On would assume that two different vendors will not use the same
model with different casing (and the same device-ids), so that
should be safe.
This uses strcoll to correctly sort unicode, which will hopefully
never be needed!
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'scripts/countTranslations.sh')
0 files changed, 0 insertions, 0 deletions