diff options
Diffstat (limited to 'src/ivyargument.c')
-rwxr-xr-x | src/ivyargument.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ivyargument.c b/src/ivyargument.c index f7662a1..981ac2c 100755 --- a/src/ivyargument.c +++ b/src/ivyargument.c @@ -61,8 +61,8 @@ IvyArgument IvyAddChild( IvyArgument arg, const char* childvalue ) IVY_LIST_ADD( arg->next, child ) if ( child ) { - arg->value = strdup( childvalue ); - arg->next = 0; + child->value = strdup( childvalue ); + child->next = 0; } return child; } |