window.c
changeset 1033 d7eac041c97f
parent 1019 6363b8a4273e
child 1038 cf60aaf4c4ba
--- a/window.c	Sun Jan 16 09:51:56 2005 +0000
+++ b/window.c	Sun Jan 16 11:04:45 2005 +0000
@@ -240,7 +240,7 @@
 
 	v = --_last_window;
 	count = (byte*)v - (byte*)w;
-	memcpy(w, w + 1, count);
+	memmove(w, w + 1, count);
 }
 
 Window *FindWindowById(WindowClass cls, WindowNumber number)