From e362afe43ca4144838fd544bcb048d4a033690bc Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Sat, 11 May 2019 22:45:49 +0200 Subject: 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 --- core/dive.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/dive.c') 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; -- cgit v1.2.3-70-g09d2