aboutsummaryrefslogtreecommitdiffstats
path: root/dive.c
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2014-06-06 21:13:54 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-08 20:25:33 -0700
commit125ddd955c04944398bbbf50a2a40bd1cceda4a3 (patch)
tree4d0ab6701018378119460305ddcb937735ec1eab /dive.c
parent6f568fbecd018736cb7ea41d83e3d78b647185b3 (diff)
downloadsubsurface-125ddd955c04944398bbbf50a2a40bd1cceda4a3.tar.gz
Display liters with script el
Use script ell instead of 'l' for liters to avoid confusion with digit 1. Let's hope that this glyph is available in the common fonts, otherwise we'll have to revert it. [Dirk Hohndel: split commit into two] Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.c')
-rw-r--r--dive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dive.c b/dive.c
index c1b5cae87..1c594db2e 100644
--- a/dive.c
+++ b/dive.c
@@ -145,7 +145,7 @@ double get_volume_units(unsigned int ml, int *frac, const char **units)
case LITER:
default:
vol = ml / 1000.0;
- unit = translate("gettextFromC", "l");
+ unit = translate("gettextFromC", "ℓ");
decimals = 1;
break;
case CUFT: