diff options
Diffstat (limited to 'header.c')
-rw-r--r-- | header.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |