Tidy occupantswin.c
Merge branch 'master' into xep-0223