Duke3D: Voxel definition whitespace issue when KVX is missing

There's something wrong with the whitespace detection around curly braces in voxel definition lines. In the attached examples I've tried out all eight possibilities when voxel no.58 is missing. No whitespace (example 5) gives 'best' results atm.: voxeldef-whitespace.zip

Duke4.net forum thread : https://forums.duke4.net/topic/11769-missing-voxel-log-error-oddity/

Edited by LeoD