mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
32720a7c18
commit
e362afe43c
7 changed files with 25 additions and 35 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue