summaryrefslogtreecommitdiff
path: root/header.c
diff options
context:
space:
mode:
Diffstat (limited to 'header.c')
-rw-r--r--header.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/header.c b/header.c
index 1892276..01729a5 100644
--- a/header.c
+++ b/header.c
@@ -83,8 +83,8 @@ FindStringProperty(const char *propName,
#ifdef DEBUG
char pname[256];
- memmove( pname, propData + propOffset->name.position,
- propOffset->name.length);
+ memcpy(pname, propData + propOffset->name.position,
+ propOffset->name.length);
pname[propOffset->name.length] = '\0';
fprintf(stderr, "prop name: %s (len %d)\n",
pname, propOffset->name.length);