WPrefs: trivial coding style fixes