Commit 2394271e authored by Sven Neumann's avatar Sven Neumann
Browse files

make it compile

parent cd28dee8
2002-11-19 Sven Neumann <sven@gimp.org>
* plug-ins/maze/maze.[ch]
* plug-ins/algorithms.c: make it compile. I'm not sure if this is the
correct fix though...
2002-11-20 Dave Neary <bolsh@gimp.org>
 
* configure.in
......@@ -35,14 +41,12 @@
* plug-ins/flame/flame.c
* plug-ins/flame/libifs.c
* plug-ins/gflare/gflare.c
* plug-ins/gimpressionist/gimpressionist.c
* plug-ins/gimpressionist/gimpressionist.h
* plug-ins/gimpressionist/gimpressionist.[ch]
* plug-ins/gimpressionist/plasma.c
* plug-ins/gimpressionist/repaint.c
* plug-ins/ifscompose/ifscompose_utils.c
* plug-ins/maze/algorithms.c
* plug-ins/maze/maze.c
* plug-ins/maze/maze.h
* plug-ins/maze/maze.[ch]
* plug-ins/mosaic/mosaic.c: Change all occurrences of RAND_MAX,
G_MAXRAND, rand(), srand(), lrand48(), srand48(), random(),
srandom(), RAND_FUNC and SRAND_FUNC to the appropriate g_rand*
......
......@@ -463,7 +463,7 @@ prim_tileable(gchar *maz, guint x, guint y)
max_progress=x*y/4;
/* Pick someplace to start. */
if (!mvals.defaultseed)
if (!mvals.timeseed)
g_rand_set_seed (gr, rnd);
pos = x * 2 * g_rand_int_range (gr, 0, y/2) + 2 * g_rand_int_range(gr, 0, x/2);
......
......@@ -246,7 +246,7 @@ run (gchar *name,
gimp_displays_flush ();
if (run_mode == GIMP_RUN_INTERACTIVE ||
(mvals.defaultseed && run_mode == GIMP_RUN_WITH_LAST_VALS))
(mvals.timeseed && run_mode == GIMP_RUN_WITH_LAST_VALS))
gimp_set_data ("plug_in_maze", &mvals, sizeof (MazeValues));
}
else
......
......@@ -33,7 +33,7 @@ typedef struct {
gint offset;
MazeAlgoType algorithm;
/* Interface options. */
gboolean defaultseed;
gboolean timeseed;
} MazeValues;
enum CellTypes {
......
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