(svn r580) Fix latent bug in BringWindowToFrontByID() - a wrong pointer was returned
authortron
Sun, 14 Nov 2004 08:15:50 +0000
changeset 388 964d8c8d89ea
parent 387 4fc309c3ba74
child 389 16ee9854091e
(svn r580) Fix latent bug in BringWindowToFrontByID() - a wrong pointer was returned
window.c
--- a/window.c	Sun Nov 14 08:11:57 2004 +0000
+++ b/window.c	Sun Nov 14 08:15:50 2004 +0000
@@ -244,7 +244,7 @@
 	if (w != NULL) {
 		w->flags4 |= WF_WHITE_BORDER_MASK;
 		SetWindowDirty(w);
-		BringWindowToFront(w);
+		w = BringWindowToFront(w);
 	}
 
 	return w;