diff lib/unistr/u16-prev.c @ 12421:e8d2c6fc33ad

Use spaces for indentation, not tabs.
author Bruno Haible <bruno@clisp.org>
date Thu, 10 Dec 2009 20:28:30 +0100 (2009-12-10)
parents ad8a75a45dc9
children b5e42ef33b49
line wrap: on
line diff
--- a/lib/unistr/u16-prev.c
+++ b/lib/unistr/u16-prev.c
@@ -29,25 +29,25 @@
       uint16_t c_1 = s[-1];
 
       if (c_1 < 0xd800 || c_1 >= 0xe000)
-	{
-	  *puc = c_1;
-	  return s - 1;
-	}
+        {
+          *puc = c_1;
+          return s - 1;
+        }
 #if CONFIG_UNICODE_SAFETY
       if (c_1 >= 0xdc00)
 #endif
-	if (s - 1 != start)
-	  {
-	    uint16_t c_2 = s[-2];
+        if (s - 1 != start)
+          {
+            uint16_t c_2 = s[-2];
 
 #if CONFIG_UNICODE_SAFETY
-	    if (c_2 >= 0xd800 && c_2 < 0xdc00)
+            if (c_2 >= 0xd800 && c_2 < 0xdc00)
 #endif
-	      {
-		*puc = 0x10000 + ((c_2 - 0xd800) << 10) + (c_1 - 0xdc00);
-		return s - 2;
-	      }
-	  }
+              {
+                *puc = 0x10000 + ((c_2 - 0xd800) << 10) + (c_1 - 0xdc00);
+                return s - 2;
+              }
+          }
     }
   return NULL;
 }