CMM: remove strncpy() function, replace it by strlcpy() as more stable

git-svn-id: svn://kolibrios.org@5803 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
2015-09-05 14:04:04 +00:00
parent e72b02a21c
commit 1ed8c3d59c
6 changed files with 12 additions and 42 deletions
-2
View File
@@ -149,8 +149,6 @@ void main()
mouse.get();
if (tmp_x!=mouse.x) || (tmp_y!=mouse.y)
{
debugi(mouse.x);
debugi(tmp_x);
z1 = Form.left + mouse.x - tmp_x;
z2 = Form.top + mouse.y - tmp_y;
if(z1<=10) || (z1>20000) z1=0; else if(z1>screen.width-Form.width-10)z1=screen.width-Form.width;