From 74da141e618ef99959d509cb2e7be35a348a39db Mon Sep 17 00:00:00 2001 From: Thomas Guyot-Sionnest Date: Wed, 7 Apr 2010 21:11:46 -0400 Subject: Sync with the latest Gnulib code (177f525) Signed-off-by: Thomas Guyot-Sionnest --- gl/wcrtomb.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'gl/wcrtomb.c') diff --git a/gl/wcrtomb.c b/gl/wcrtomb.c index 79df99f2..e7345f69 100644 --- a/gl/wcrtomb.c +++ b/gl/wcrtomb.c @@ -1,5 +1,5 @@ /* Convert wide character to multibyte character. - Copyright (C) 2008 Free Software Foundation, Inc. + Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc. Written by Bruno Haible , 2008. This program is free software: you can redistribute it and/or modify @@ -43,11 +43,11 @@ wcrtomb (char *s, wchar_t wc, mbstate_t *ps) int ret = wctomb (s, wc); if (ret >= 0) - return ret; + return ret; else - { - errno = EILSEQ; - return (size_t)(-1); - } + { + errno = EILSEQ; + return (size_t)(-1); + } } } -- cgit v1.2.3