simplify code, no functional change intended

git-svn-id: http://svn.mkgmap.org.uk/splitter/trunk@403 838fabe5-b1a8-4b81-9896-7a84386980e9