Commit b5733dd3 authored by Martin Nordholts's avatar Martin Nordholts
Browse files

Formating, simplification and fixed operator precedence for the seed (not

* app/gegl/gimpoperationpointlayermode.c
(gimp_operation_point_layer_mode_process): Formating,
simplification and fixed operator precedence for the seed (not
that it matters much).

svn path=/trunk/; revision=27487
parent fc7e65e7
2008-10-31 Martin Nordholts <martinn@svn.gnome.org>
* app/gegl/gimpoperationpointlayermode.c
(gimp_operation_point_layer_mode_process): Formating and
simplification.
(gimp_operation_point_layer_mode_process): Formating,
simplification and fixed operator precedence for the seed (not
that it matters much).
2008-10-31 Martin Nordholts <martinn@svn.gnome.org>
......
......@@ -509,8 +509,8 @@ gimp_operation_point_layer_mode_process (GeglOperation *operation,
* seed depend on the pixel position (modulo 1024)
*/
g_rand_set_seed (rand,
(roi->x + sample - (sample / roi->width) * roi->width) % 1024 *
(roi->y + sample / roi->width) % 1024);
((roi->x + sample - (sample / roi->width) * roi->width) % 1024) *
((roi->y + sample / roi->width) % 1024));
if (layA * G_MAXUINT32 >= g_rand_int (rand))
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment