diff --git a/CRT.c b/CRT.c index 6c8f0b31..192a6aca 100644 --- a/CRT.c +++ b/CRT.c @@ -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 ""; }