]> git.pond.sub.org Git - empserver/commit
Make snxtsct_area() expect correct range width and height
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 17 Aug 2008 13:23:22 +0000 (09:23 -0400)
committerMarkus Armbruster <armbru@pond.sub.org>
Tue, 19 Aug 2008 12:54:05 +0000 (08:54 -0400)
commit5c4963c464f25f15e7a23eada57f89ed69219cf6
treeab3468564ccc47160cecd06aa5cfbe5842e4ad73
parentbf9389a7a96123c6e52938fce798d912e618cb09
Make snxtsct_area() expect correct range width and height

snxtsct_area() computed width and height, overwriting the values
passed in, even though all but two callers passed correct values.  The
exceptions were snxtsct() in case NS_ALL, and snxtsct_all().  Change
them to pass correct values, and drop the recomputation from
snxtsct_area().  Simplifies the interface between snxtsct_area() and
its callers.
src/lib/subs/snxtsct.c