forked from starnakin/IronGOLEM
use postfix and variable initialisation
This commit is contained in:
@ -1,11 +1,11 @@
|
||||
strncpy(dst, src, size)
|
||||
{
|
||||
local i;
|
||||
i = 0;
|
||||
local i = 0;
|
||||
|
||||
loop {
|
||||
if ([src + i] == 0 | i == size)
|
||||
return (dst);
|
||||
[dst + i] = [src + i];
|
||||
i = i + 1;
|
||||
i++;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user