]> git.pond.sub.org Git - empserver/commit
emp_config: Don't monkey-patch WORLD_X to be even
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 22 Feb 2015 07:04:41 +0000 (08:04 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Mon, 2 Mar 2015 07:20:52 +0000 (08:20 +0100)
commite60f0be73fa496542ab8630388f7bf962a58d30d
tree31aaa4b821c68b4dbb4c901cee2fbb66c11ad3f6
parentab82a804a6b513253aba03b4581b55813044fcb4
emp_config: Don't monkey-patch WORLD_X to be even

emp_config() silently truncates WORLD_X to even.  Drop that.  We could
flag odd WORLD_X as error, but we don't validate the other
configuration values, so why this one?  Instead document it needs to
be even.  WORLD_Y, too.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
include/econfig-spec.h
src/lib/common/emp_config.c