summaryrefslogtreecommitdiff
path: root/apps/plugins/puzzles/src/netslide.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/puzzles/src/netslide.c')
-rw-r--r--apps/plugins/puzzles/src/netslide.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/puzzles/src/netslide.c b/apps/plugins/puzzles/src/netslide.c
index 96ac8e7eea..bb9b0999ea 100644
--- a/apps/plugins/puzzles/src/netslide.c
+++ b/apps/plugins/puzzles/src/netslide.c
@@ -243,7 +243,7 @@ static char *encode_params(const game_params *params, int full)
243 if (full && params->barrier_probability) 243 if (full && params->barrier_probability)
244 { 244 {
245 len += sprintf(ret+len, "b"); 245 len += sprintf(ret+len, "b");
246 len += ftoa(ret + len, 400, params->barrier_probability); 246 len += ftoa(ret + len, params->barrier_probability);
247 } 247 }
248 /* Shuffle limit is part of the limited parameters, because we have to 248 /* Shuffle limit is part of the limited parameters, because we have to
249 * provide the target move count. */ 249 * provide the target move count. */
@@ -281,7 +281,7 @@ static config_item *game_configure(const game_params *params)
281 281
282 ret[3].name = "Barrier probability"; 282 ret[3].name = "Barrier probability";
283 ret[3].type = C_STRING; 283 ret[3].type = C_STRING;
284 ftoa(buf, 80, params->barrier_probability); 284 ftoa(buf, params->barrier_probability);
285 ret[3].sval = dupstr(buf); 285 ret[3].sval = dupstr(buf);
286 ret[3].ival = 0; 286 ret[3].ival = 0;
287 287