Allow --save to work with --soln, causing saved game files to be

written out with the Solve operation having already been performed.

[originally from svn r9375]
This commit is contained in:
Simon Tatham
2011-12-28 18:17:30 +00:00
parent b5cb02b61a
commit 7024735f89
2 changed files with 12 additions and 1 deletions

View File

@ -1331,7 +1331,8 @@ char *midend_solve(midend *me)
me->anim_time = 0.0;
midend_finish_move(me);
}
midend_redraw(me);
if (me->drawing)
midend_redraw(me);
midend_set_timer(me);
return NULL;
}