update for HEAD-2003021201
[reactos.git] / lib / msvcrt / search / lfind.c
index 210a149..8bfa458 100644 (file)
@@ -5,15 +5,14 @@
 void *_lfind(const void *key, const void *base, size_t *nelp,
          size_t width, int (*compar)(const void *, const void *))
 {
-  char *char_base = (char *)base;
-  int i;
+       char* char_base = (char*)base;
+       int i;
 
-  for (i=0;i<*nelp;i++)
-    {
-      if (compar(key,char_base) == 0)
-       return char_base;
-      char_base += width;
-    }
-  return NULL;
+    for (i = 0; i < *nelp; i++) {
+               if (compar(key, char_base) == 0)
+                       return char_base;
+               char_base += width;
+       }
+       return NULL;
 }