diff src/similar.c @ 442:4b2d7f9af171

Big whitespaces cleanup: - drop whitespaces at end of lines - convert eight spaces to tab at start of lines - drop spurious spaces mixed with tabs - remove empty lines at end of files
author zas_
date Sun, 20 Apr 2008 13:04:57 +0000
parents 9995c5fb202a
children 48c8e49b571c
line wrap: on
line diff
--- a/src/similar.c	Sun Apr 20 10:05:27 2008 +0000
+++ b/src/similar.c	Sun Apr 20 13:04:57 2008 +0000
@@ -181,7 +181,7 @@
 #endif
 
 	if (!alternate_enabled) return;
-	
+
 	image_sim_channel_norm(sd->avg_r, sizeof(sd->avg_r));
 	image_sim_channel_norm(sd->avg_g, sizeof(sd->avg_g));
 	image_sim_channel_norm(sd->avg_b, sizeof(sd->avg_b));
@@ -194,7 +194,7 @@
 	for (i = 0; i < sizeof(sd->avg_r); i++)
 		{
 		guint8 n;
-		
+
 		n = (guint8)((gint)(sd->avg_r[i] + sd->avg_g[i] + sd->avg_b[i]) / 3);
 		sd->avg_r[i] = sd->avg_g[i] = sd->avg_b[i] = n;
 		}