fix bug 22646: tooltips broken in replay viewer

Fixes a logic error introduced in this commit:

https://github.com/wesnoth/wesnoth/commit/4e17d42679175534a0215a07cfdfad58a9fc6870#diff-89155afc5a0b890787b4bfa962f217d4R846

I'm not sure, it seems it would have most if not all tooltips
except those related to the map editor.
fix whitespace

Again from commit https://github.com/wesnoth/wesnoth/commit/4e17d42679175534a0215a07cfdfad58a9fc6870#diff-89155afc5a0b890787b4bfa962f217d4R846
update changelog
Merge branch 'master' of https://github.com/wesnoth/wesnoth