From 71c587bec103b6cbe0a475cad7fdd0bc6197f015 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Santos=20Costa?= Date: Sun, 19 Oct 2014 01:43:14 +0100 Subject: [PATCH] better safe than.. --- os/pl-locale.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/os/pl-locale.c b/os/pl-locale.c index 9a76e8e89..7bcda7f96 100644 --- a/os/pl-locale.c +++ b/os/pl-locale.c @@ -54,14 +54,15 @@ typedef struct char *grouping; } lconv; -struct lconv * -localeconv(void) -{ static struct lconv defl = +static struct lconv defl = { ".", ",", "\003\003" }; +struct lconv * +localeconv(void) +{ return &defl; } #endif