mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
strcpy(3) now nul-terminates dest.
This commit is contained in:
parent
15329187b9
commit
6447783c12
1 changed files with 2 additions and 0 deletions
|
@ -52,6 +52,8 @@ namespace Maxsi
|
|||
Dest++; Src++;
|
||||
}
|
||||
|
||||
*Dest = '\0';
|
||||
|
||||
return OriginalDest;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue