From dd53172230dc0727092c452d47c67c881d6b81ec Mon Sep 17 00:00:00 2001 From: gambas Date: Thu, 9 Aug 2018 15:47:29 +0200 Subject: [PATCH] Fix thousand separators again. [INTERPRETER] * BUG: Fix thousand separators again. --- main/gbx/gbx_local.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/gbx/gbx_local.c b/main/gbx/gbx_local.c index c89f66ab8..06e9da7b5 100644 --- a/main/gbx/gbx_local.c +++ b/main/gbx/gbx_local.c @@ -374,7 +374,7 @@ static const char *fix_separator(const char *str) if ((uchar)str[0] == 0xE2 && (uchar)str[1] == 0x80 && (uchar)str[2] == 0xAF && str[3] == 0) return " "; - return "_"; + return str[1] ? "_" : str; } static void fill_local_info(void)