summaryrefslogtreecommitdiff
path: root/ace/ACE.i
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1998-09-13 03:44:51 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1998-09-13 03:44:51 +0000
commitfa452468e67f3051c6ebf94eac21ffe42ce91abe (patch)
treeb04722490a2980fe3beaa4b3b0d0c3d1cd474fbe /ace/ACE.i
parent56d17e2222378c3b825689005a8083426a8fc4ae (diff)
downloadATCD-fa452468e67f3051c6ebf94eac21ffe42ce91abe.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/ACE.i')
-rw-r--r--ace/ACE.i4
1 files changed, 2 insertions, 2 deletions
diff --git a/ace/ACE.i b/ace/ACE.i
index 13005f0ade4..224cdbdd706 100644
--- a/ace/ACE.i
+++ b/ace/ACE.i
@@ -51,7 +51,7 @@ ACE::strecpy (char *s, const char *t)
while ((*dscan++ = *sscan++) != '\0')
continue;
- return dscan - 1;
+ return dscan;
}
#if defined (ACE_HAS_UNICODE)
@@ -65,7 +65,7 @@ ACE::strecpy (wchar_t *s, const wchar_t *t)
while ((*dscan++ = *sscan++) != '\0')
continue;
- return dscan - 1;
+ return dscan;
}
#endif /* ACE_HAS_UNICODE */