Skip to content

Commit

Permalink
Fix memory error in character editor
Browse files Browse the repository at this point in the history
  • Loading branch information
cxong committed Nov 6, 2013
1 parent 45db80c commit 0ac9d19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/charsed.c
Expand Up @@ -524,7 +524,7 @@ static void InsertCharacter(CharacterStore *store, int idx, Character *data)
Character *c = CharacterStoreInsertOther(store, idx);
if (data)
{
memcpy(&c, data, sizeof *c);
memcpy(c, data, sizeof *c);
}
else
{
Expand Down

0 comments on commit 0ac9d19

Please sign in to comment.