shithub: mc

Download patch

ref: 120e25cfe43a221c18d61f1ef7fc0abf55c61f25
parent: 696575dc066473f238eab48e0741d82a7ba7a60a
author: Ori Bernstein <[email protected]>
date: Fri Jun 22 07:22:37 EDT 2012

Whitespace fixes.

--- a/parse/bitset.c
+++ b/parse/bitset.c
@@ -55,9 +55,9 @@
     size_t i;
 
     if (!bs)
-	return mkbs();
+        return mkbs();
     for (i = 0; i < bs->nchunks; i++)
-	bs->chunks[i] = 0;
+        bs->chunks[i] = 0;
     return bs;
 }
 
@@ -78,10 +78,10 @@
     size_t i;
 
     for (i = *elt; i < bsmax(bs); i++) {
-	if (bshas(bs, i)) {
-	    *elt = i;
-	    return 1;
-	}
+        if (bshas(bs, i)) {
+            *elt = i;
+            return 1;
+        }
     }
     return 0;
 }
@@ -158,8 +158,8 @@
 
     eqsz(a, b);
     for (i = 0; i < a->nchunks; i++)
-	if (a->chunks[i] != b->chunks[i])
-	    return 0;
+        if (a->chunks[i] != b->chunks[i])
+            return 0;
     return 1;
 }