ceilf-ieee: Work around bug on MacOS X 10.5.
[pspp] / lib / wcrtomb.c
index 79df99f23559452ad85056c9919b1b0abfa4368d..66325893652de281f8141c8d0b929fe2e5b6b0e1 100644 (file)
@@ -1,5 +1,5 @@
 /* Convert wide character to multibyte character.
-   Copyright (C) 2008 Free Software Foundation, Inc.
+   Copyright (C) 2008-2011 Free Software Foundation, Inc.
    Written by Bruno Haible <bruno@clisp.org>, 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);
+        }
     }
 }