From 5278de09973c3e41028dc80a8862db01fc70cf11 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Tue, 6 Jun 2006 15:41:31 -0700 Subject: 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. --- src/cairo-hash.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/cairo-hash.c') diff --git a/src/cairo-hash.c b/src/cairo-hash.c index 6b9f3d08..a9909a26 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; -- cgit v1.2.3