Commit 58ae3b3e authored by Alexandre Prokoudine's avatar Alexandre Prokoudine

Fix a typo in both user-visible messages and variable names

parent 456a36bf
......@@ -60,7 +60,7 @@ property_enum (algorithm_type, _("Algorithm type"),
GEGL_MAZE_ALGORITHM_DEPTH_FIRST)
description (_("Maze algorithm type"))
property_boolean (tilable, _("Tilable"), FALSE)
property_boolean (tileable, _("Tileable"), FALSE)
property_seed (seed, _("Random seed"), rand)
......@@ -617,7 +617,7 @@ process (GeglOperation *operation,
gr = g_rand_new ();
if (o->tilable)
if (o->tileable)
{
/* Tileable mazes must be even. */
mw -= (mw & 1);
......@@ -636,7 +636,7 @@ process (GeglOperation *operation,
switch (o->algorithm_type)
{
case GEGL_MAZE_ALGORITHM_DEPTH_FIRST:
if (o->tilable)
if (o->tileable)
{
depth_first_tileable (0, maz, mw, mh, o->seed);
}
......@@ -647,7 +647,7 @@ process (GeglOperation *operation,
break;
case GEGL_MAZE_ALGORITHM_PRIM:
if (o->tilable)
if (o->tileable)
{
prim_tileable (maz, mw, mh, o->seed);
}
......@@ -696,7 +696,7 @@ process (GeglOperation *operation,
}
}
if (! o->tilable)
if (! o->tileable)
{
/* last row */
for (tile.y = in_extent->height-tile.height, tile.x = offset_x;
......
......@@ -53,8 +53,8 @@ property_int (detail, _("Detail"), 1)
ui_range (0, 15)
value_range (0, 15)
property_boolean (tilable, _("Tilable"), FALSE)
description (_("Create a tilable output"))
property_boolean (tileable, _("Tileable"), FALSE)
description (_("Create a tileable output"))
property_boolean (turbulent, _("Turbulent"), FALSE)
description (_("Make a turbulent noise"))
......@@ -120,7 +120,7 @@ solid_noise_init (GeglProperties *o)
gr = g_rand_new_with_seed (o->seed);
/* Set scaling factors */
if (o->tilable)
if (o->tileable)
{
params->xsize = ceil (o->x_size);
params->ysize = ceil (o->y_size);
......@@ -201,7 +201,7 @@ plain_noise (gdouble x,
{
for (j = 0; j < 2; j++)
{
if (o->tilable)
if (o->tileable)
n = p->perm_tab[(((a + i) % (p->xclip * s)) + p->perm_tab[((b + j) % (p->yclip * s)) % TABLE_SIZE]) % TABLE_SIZE];
else
n = p->perm_tab[(a + i + p->perm_tab[(b + j) % TABLE_SIZE]) % TABLE_SIZE];
......
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