iswspace: fix handling of 0