(svn r21620) -Codechange: Don't consider direction bits when checking for an active highlight mode.

This commit is contained in:
alberth
2010-12-24 14:52:42 +00:00
parent cdae336feb
commit e930b9985d
2 changed files with 2 additions and 2 deletions

View File

@@ -653,7 +653,7 @@ void Window::DeleteChildWindows(WindowClass wc) const
*/
Window::~Window()
{
if (_thd.place_mode != HT_NONE &&
if ((_thd.place_mode & ~HT_DIR_MASK) != HT_NONE &&
_thd.window_class == this->window_class &&
_thd.window_number == this->window_number) {
ResetObjectToPlace();