]> git.sur5r.net Git - cc65/blobdiff - src/common/hashfunc.c
Removed (pretty inconsistently used) tab chars from source code base.
[cc65] / src / common / hashfunc.c
index a26d1635bde18c5d2727a71c0a2b95b2efe6eb2e..6774c88fc601e851c99ecf065adada4d4a81f155 100644 (file)
@@ -39,7 +39,7 @@
 
 
 /*****************************************************************************/
-/*                                          Code                                    */
+/*                                   Code                                    */
 /*****************************************************************************/
 
 
@@ -70,7 +70,7 @@ unsigned HashStr (const char* S)
     /* Do the hash */
     H = L = 0;
     while (*S) {
-       H = ((H << 3) ^ ((unsigned char) *S++)) + L++;
+        H = ((H << 3) ^ ((unsigned char) *S++)) + L++;
     }
     return H;
 }
@@ -85,7 +85,7 @@ unsigned HashBuf (const StrBuf* S)
     /* Do the hash */
     H = L = 0;
     for (I = 0; I < SB_GetLen (S); ++I) {
-       H = ((H << 3) ^ ((unsigned char) SB_AtUnchecked (S, I))) + L++;
+        H = ((H << 3) ^ ((unsigned char) SB_AtUnchecked (S, I))) + L++;
     }
     return H;
 }