summaryrefslogtreecommitdiff
path: root/strfct.c
diff options
context:
space:
mode:
Diffstat (limited to 'strfct.c')
-rw-r--r--strfct.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/strfct.c b/strfct.c
index 5135e95..45ced40 100644
--- a/strfct.c
+++ b/strfct.c
@@ -37,7 +37,7 @@ char * strncopy(char * dest , const char * src , size_t n)
strncpy(dest, src, n);
if (n)
{
- *(dest + n - 1) = 0;
+ *(dest + n - 1) = 0;
}
return dest;
}