doc: use ASCII in .texi files where UTF-8 isn't needed
[gnulib.git] / lib / unicase / u-casexfrm.h
index e36aff3..a1b116e 100644 (file)
@@ -1,6 +1,6 @@
 /* Locale dependent transformation for case insensitive comparison of Unicode
    strings.
-   Copyright (C) 2009 Free Software Foundation, Inc.
+   Copyright (C) 2009-2014 Free Software Foundation, Inc.
    Written by Bruno Haible <bruno@clisp.org>, 2009.
 
    This program is free software: you can redistribute it and/or modify it
@@ -38,18 +38,18 @@ FUNC (const UNIT *s, size_t n, const char *iso639_language, uninorm_t nf,
   /* Convert it to locale encoding.  */
   convs_length = sizeof (convsbuf) - 1;
   convs = U_CONV_TO_ENCODING (locale_charset (),
-                             iconveh_error,
-                             foldeds, foldeds_length,
-                             NULL,
-                             convsbuf, &convs_length);
+                              iconveh_error,
+                              foldeds, foldeds_length,
+                              NULL,
+                              convsbuf, &convs_length);
   if (convs == NULL)
     {
       if (foldeds != foldedsbuf)
-       {
-         int saved_errno = errno;
-         free (foldeds);
-         errno = saved_errno;
-       }
+        {
+          int saved_errno = errno;
+          free (foldeds);
+          errno = saved_errno;
+        }
       return NULL;
     }
 
@@ -61,24 +61,24 @@ FUNC (const UNIT *s, size_t n, const char *iso639_language, uninorm_t nf,
     {
       char *memory = (char *) realloc (convs, convs_length + 1);
       if (memory == NULL)
-       {
-         free (convs);
-         errno = ENOMEM;
-         return NULL;
-       }
+        {
+          free (convs);
+          errno = ENOMEM;
+          return NULL;
+        }
       convs = memory;
     }
 
   /* Apply locale dependent transformations for comparison.  */
-  result = memxfrm (convs, convs_length, resultbuf, lengthp);
+  result = amemxfrm (convs, convs_length, resultbuf, lengthp);
   if (result == NULL)
     {
       if (convs != convsbuf)
-       {
-         int saved_errno = errno;
-         free (convs);
-         errno = saved_errno;
-       }
+        {
+          int saved_errno = errno;
+          free (convs);
+          errno = saved_errno;
+        }
       return NULL;
     }