summaryrefslogtreecommitdiff
path: root/src/ivyargument.c
diff options
context:
space:
mode:
authorfcolin2005-07-25 14:28:35 +0000
committerfcolin2005-07-25 14:28:35 +0000
commitd5fc9f417c02ebe34b8f06847c375cd246f8c832 (patch)
treeb475d57c7441d0f2251a77cabd4ef38d57158b8d /src/ivyargument.c
parent97c5a6a52b134334f04a394f4ed774b287f8e774 (diff)
downloadivy-c-d5fc9f417c02ebe34b8f06847c375cd246f8c832.zip
ivy-c-d5fc9f417c02ebe34b8f06847c375cd246f8c832.tar.gz
ivy-c-d5fc9f417c02ebe34b8f06847c375cd246f8c832.tar.bz2
ivy-c-d5fc9f417c02ebe34b8f06847c375cd246f8c832.tar.xz
gestion argument Ivy
Diffstat (limited to 'src/ivyargument.c')
-rwxr-xr-xsrc/ivyargument.c4
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;
}