diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-05-11 22:45:49 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-05-12 12:25:43 -0700 |
commit | e362afe43ca4144838fd544bcb048d4a033690bc (patch) | |
tree | f82e071e688af93f0b19456e015f04b25239d1a6 /core/dive.c | |
parent | 32720a7c18f5774e5ac44338bfbac8129b0bc3c9 (diff) | |
download | subsurface-e362afe43ca4144838fd544bcb048d4a033690bc.tar.gz |
Cleanup: remove UTF8 macros
At some places we use UTF8 string literals. Therefore, we effectively
only support UTF8 build systems. We might just as well remove all
the other UTF_* macros and use direct string literals.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/dive.c')
-rw-r--r-- | core/dive.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/dive.c b/core/dive.c index 8b676c060..0f67ebe61 100644 --- a/core/dive.c +++ b/core/dive.c @@ -316,10 +316,10 @@ double get_temp_units(unsigned int mk, const char **units) if (units_p->temperature == FAHRENHEIT) { deg = mkelvin_to_F(mk); - unit = UTF8_DEGREE "F"; + unit = "°F"; } else { deg = mkelvin_to_C(mk); - unit = UTF8_DEGREE "C"; + unit = "°C"; } if (units) *units = unit; |