diff options
author | Tor Andersson <tor@ghostscript.com> | 2004-11-17 09:21:34 +0100 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2004-11-17 09:21:34 +0100 |
commit | 586247f9d03ce924c0f4615d944033ddf03cab37 (patch) | |
tree | 870c97c3077349e7085f95a8c07a476205ea0cda /base | |
parent | fc5d174cd475c8f2236ea644d63e6b309e41b928 (diff) | |
download | mupdf-586247f9d03ce924c0f4615d944033ddf03cab37.tar.xz |
clean up mixed tabs and spaces
Diffstat (limited to 'base')
-rw-r--r-- | base/hash.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/base/hash.c b/base/hash.c index c6d811c2..e54ac7ea 100644 --- a/base/hash.c +++ b/base/hash.c @@ -31,18 +31,18 @@ struct fz_hashtable_s static unsigned hash(unsigned char *s, int len) { - unsigned hash = 0; - int i; - for (i = 0; i < len; i++) - { - hash += s[i]; - hash += (hash << 10); - hash ^= (hash >> 6); - } - hash += (hash << 3); - hash ^= (hash >> 11); - hash += (hash << 15); - return hash; + unsigned hash = 0; + int i; + for (i = 0; i < len; i++) + { + hash += s[i]; + hash += (hash << 10); + hash ^= (hash >> 6); + } + hash += (hash << 3); + hash ^= (hash >> 11); + hash += (hash << 15); + return hash; } fz_error * |