Fixed %apply merging problem.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@912 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Dave Beazley 2000-10-03 20:42:23 +00:00
commit 1c14592d9c

View file

@ -192,7 +192,7 @@ Swig_typemap_clear(char *op, SwigType *type, String_or_char *name) {
static void merge_attributes(Hash *target, Hash *source) {
String *key;
for (key = Firstkey(source); key; key = Nextkey(source)) {
if (Getattr(target,key)) continue;
/* if (Getattr(target,key)) continue; */
Setattr(target,key,Getattr(source,key));
}
}