From 7669cda679584cd514108a69b1f897fa90299711 Mon Sep 17 00:00:00 2001 From: Marcelo Matus Date: Mon, 9 Jan 2006 03:00:18 +0000 Subject: [PATCH] fix ||, it should be && git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8314 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- SWIG/Source/Swig/typesys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SWIG/Source/Swig/typesys.c b/SWIG/Source/Swig/typesys.c index 892b849ec..865a1cde8 100644 --- a/SWIG/Source/Swig/typesys.c +++ b/SWIG/Source/Swig/typesys.c @@ -1884,7 +1884,7 @@ SwigType_emit_type_table(File *f_forward, File *f_table) { if (SwigType_istemplate(rt)) { String *dt = Swig_symbol_template_deftype(rt, 0); String *dn = SwigType_lstr(dt,0); - if (!Equal(dn,rn) || !Equal(dn,ln)) { + if (!Equal(dn,rn) && !Equal(dn,ln)) { Printf(nt,"|%s",dn); } Delete(dt);