/[enigma]/enigma/src/objects.cc
ViewVC logotype

Diff of /enigma/src/objects.cc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.16 by mhawlisch, Tue Feb 4 10:47:15 2003 UTC revision 1.17 by dheck, Wed Feb 5 20:15:26 2003 UTC
# Line 3428  void Line 3428  void
3428  ObjectRepos::add_templ(Object *o)  ObjectRepos::add_templ(Object *o)
3429  {  {
3430      string kind = o->get_kind();      string kind = o->get_kind();
3431      if (has_templ(kind))      if (!has_templ(kind))
3432          cerr << "add_templ: redefinition of object `" <<kind<< "'.\n";  //         cerr << "add_templ: redefinition of object `" <<kind<< "'.\n";
3433      else  //     else
3434          objmap.insert(kind, o);          objmap.insert(kind, o);
3435  }  }
3436    

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26