Author: post
Date: 2010-06-23 09:32:29 +0200 (Wed, 23 Jun 2010)
New Revision: 3439
Modified:
trunk/plugins/resample/resample.c
Log:
Don't use unneeded mod, use and instead.
Modified: trunk/plugins/resample/resample.c
===================================================================
--- trunk/plugins/resample/resample.c 2010-06-23 07:31:15 UTC (rev 3438)
+++ trunk/plugins/resample/resample.c 2010-06-23 07:32:29 UTC (rev 3439)
@@ -367,7 +367,7 @@
// Only even count
guint output_x_per_thread = ((input_width + threads - 1 ) / threads );
- while ((output_x_per_thread * input->pixelsize) % 16 != 0)
+ while ((output_x_per_thread * input->pixelsize) & 15 != 0)
output_x_per_thread++;
guint output_x_offset = 0;
_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit