fairland: Simplify how write_sect() iterates over sectors
authorMarkus Armbruster <armbru@pond.sub.org>
Fri, 21 Aug 2020 11:12:11 +0000 (13:12 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 17 Jan 2021 20:24:28 +0000 (21:24 +0100)
commit4413a8e1b26c6f8207d18aad7d482f8e07a6b327
tree75c1913b1dff90019d550748b1c2f0c5535926a3
parent7039ef67678abeec65c66915cacdfef3a60497a5
fairland: Simplify how write_sect() iterates over sectors

Iterating over IDs is slightly simpler than iterating over
coordinates, so do that.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
src/util/fairland.c