1
0
Fork 0

(svn r1534) Use memmove() instead of memcpy() when copying overlapping memory (tamlin)

release/0.4.5
tron 2005-01-16 11:04:45 +00:00
parent 1955371a71
commit efecea001a
1 changed files with 1 additions and 1 deletions

View File

@ -240,7 +240,7 @@ void DeleteWindow(Window *w)
v = --_last_window;
count = (byte*)v - (byte*)w;
memcpy(w, w + 1, count);
memmove(w, w + 1, count);
}
Window *FindWindowById(WindowClass cls, WindowNumber number)