Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 4224c5e

Browse files
[[ Mac64 ]] Fix a typo in the refactored pStrcpy function
1 parent 0a0a765 commit 4224c5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

engine/src/osxprefix.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ along with LiveCode. If not see <http://www.gnu.org/licenses/>. */
2323

2424
inline char *pStrcpy(unsigned char *dest, const unsigned char *src)
2525
{
26-
memmove(dest, src, size_t(src) + 1);
26+
memmove(dest, src, size_t(*src) + 1);
2727
return (char*)dest;
2828
}
2929

0 commit comments

Comments
 (0)