cosmetic fix

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7290 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2005-06-13 16:45:50 +00:00
commit c1972a89f7

View file

@ -1515,10 +1515,10 @@ SwigType *Swig_symbol_typedef_reduce(SwigType *ty, Symtab *tab) {
{
const char* dclass[3] = {"struct ", "union ", "class "};
int i;
char * c = Char(nt);
for (i=0; i<3; i++) {
char * c = Char(nt);
if (strstr(c, dclass[i]) == c) {
Replace(nt,dclass[i],"", DOH_REPLACE_FIRST);
Replace(nt,dclass[i],"", DOH_REPLACE_FIRST);
}
}
}