diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-12-04 16:09:44 +0100 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2020-12-05 20:01:10 +0100 |
commit | f91368002058239bcee36a4825a5b0692c37d77a (patch) | |
tree | de508f001b6c8156f4378453a013f824682e22a8 /CRT.c | |
parent | f0a9dfc37e4e13d4e697f5d15facb0b905747e15 (diff) |
Hide degree character without wide ncurses support
Diffstat (limited to 'CRT.c')
-rw-r--r-- | CRT.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -80,13 +80,13 @@ static const char* initDegreeSign(void) { #ifdef HAVE_LIBNCURSESW if (CRT_utf8) return "\xc2\xb0"; -#endif static char buffer[4]; // this might fail if the current locale does not support wide characters int r = snprintf(buffer, sizeof(buffer), "%lc", 176); if (r > 0) return buffer; +#endif return ""; } |