diff options
author | Marcelo Matus <mmatus@acms.arizona.edu> | 2006-01-01 11:01:12 +0000 |
---|---|---|
committer | Marcelo Matus <mmatus@acms.arizona.edu> | 2006-01-01 11:01:12 +0000 |
commit | 2a3e528169394e9c07f549595fe346948af7751d (patch) | |
tree | c271f00a452047ee0831ac25fe744e9f2ab6dd44 /Source/DOH | |
parent | 7284595912a92bf3f4c7087bf73c002b526237ce (diff) | |
download | swig-2a3e528169394e9c07f549595fe346948af7751d.tar.gz |
fixes and docs in %rename
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8160 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Source/DOH')
-rw-r--r-- | Source/DOH/fio.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/DOH/fio.c b/Source/DOH/fio.c index 0f84845f2..966731604 100644 --- a/Source/DOH/fio.c +++ b/Source/DOH/fio.c @@ -58,7 +58,8 @@ static DOH *encode(char *name, DOH *s) { char *cfmt = strstr(name,":"); DOH *tmp = 0; if (cfmt) { - tmp = NewStringf(cfmt + 1, s); + tmp = NewString(cfmt + 1); + Append(tmp,s); Setfile(tmp,Getfile((DOH *)s)); Setline(tmp,Getline((DOH *)s)); *cfmt = '\0'; |