summaryrefslogtreecommitdiff
path: root/src/cairo-hash.c
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2006-06-06 15:41:31 -0700
committerCarl Worth <cworth@cworth.org>2006-06-06 15:41:31 -0700
commit5278de09973c3e41028dc80a8862db01fc70cf11 (patch)
treefa1b95ff513448d59ef955ba255ed7f681a486c2 /src/cairo-hash.c
parent00592e075754594605fddfb2a702f3d2caa7c55c (diff)
downloadcairo-5278de09973c3e41028dc80a8862db01fc70cf11.tar.gz
Remove all remaining trailing whitespace.
This patch was produced with the following (GNU) sed script: sed -i -r -e 's/[ \t]+$//' run on all *.[ch] files within cairo. Note that the above script would have also created all the changes from the previous commits to remove trailing whitespace.
Diffstat (limited to 'src/cairo-hash.c')
-rw-r--r--src/cairo-hash.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cairo-hash.c b/src/cairo-hash.c
index 6b9f3d08d..a9909a264 100644
--- a/src/cairo-hash.c
+++ b/src/cairo-hash.c
@@ -264,7 +264,7 @@ _cairo_hash_table_lookup_internal (cairo_hash_table_t *hash_table,
return entry;
}
- if (step == 0) {
+ if (step == 0) {
step = key->hash % hash_table->arrangement->rehash;
if (step == 0)
step = 1;
@@ -328,7 +328,7 @@ _cairo_hash_table_resize (cairo_hash_table_t *hash_table)
new_size = tmp.arrangement->size;
tmp.entries = calloc (new_size, sizeof (cairo_hash_entry_t*));
- if (tmp.entries == NULL)
+ if (tmp.entries == NULL)
return CAIRO_STATUS_NO_MEMORY;
for (i = 0; i < hash_table->arrangement->size; ++i) {
@@ -424,7 +424,7 @@ _cairo_hash_table_random_entry (cairo_hash_table_t *hash_table,
return *entry;
}
- if (step == 0) {
+ if (step == 0) {
step = hash % hash_table->arrangement->rehash;
if (step == 0)
step = 1;