]> git.pond.sub.org Git - empserver/commit
Fix distribute aborting at prompt for second argument
authorMarkus Armbruster <armbru@pond.sub.org>
Fri, 18 Jul 2008 22:10:44 +0000 (18:10 -0400)
committerMarkus Armbruster <armbru@pond.sub.org>
Mon, 21 Jul 2008 11:50:13 +0000 (07:50 -0400)
commit7bbd3fcd89c0e4657fd8e8a478cfaf88e582001a
tree393fdd8a6024ab0b87d6e2cd8c1f9e9d2b89f356
parent2fa522588ac3754d58b3e8cf360c6ec9f6f71ad1
Fix distribute aborting at prompt for second argument

Before failing the command, the old code attempted to change the
current sector's distribution center to the last one used, which might
have been uninitialized coordinates.  If lucky, the coordinates were
invalid, and the attempt oopsed and did nothing.
src/lib/commands/dist.c