(svn r580) Fix latent bug in BringWindowToFrontByID() - a wrong pointer was returned

This commit is contained in:
tron 2004-11-14 08:15:50 +00:00
parent 37cbae0370
commit a9a852a4d6
1 changed files with 1 additions and 1 deletions

View File

@ -244,7 +244,7 @@ Window *BringWindowToFrontById(WindowClass cls, WindowNumber number)
if (w != NULL) {
w->flags4 |= WF_WHITE_BORDER_MASK;
SetWindowDirty(w);
BringWindowToFront(w);
w = BringWindowToFront(w);
}
return w;