ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/branches/new_design/OOPSE-4/src/io/DirectionalAtomTypesSectionParser.cpp
(Generate patch)

Comparing branches/new_design/OOPSE-4/src/io/DirectionalAtomTypesSectionParser.cpp (file contents):
Revision 1840 by tim, Mon Nov 29 15:27:43 2004 UTC vs.
Revision 1841 by tim, Fri Dec 3 17:59:45 2004 UTC

# Line 49 | Line 49 | void DirectionalAtomTypesSectionParser::parseLine(Forc
49          if (atomType == NULL) {
50              dAtomType = new DirectionalAtomType();
51              int ident = ff.getNAtomType() + 1;
52 <            atomType->setIdent(ident);
53 <            atomType->setName(atomTypeName);
54 <            ff.addAtomType(atomTypeName, atomType);
52 >            dAtomType->setIdent(ident);
53 >            dAtomType->setName(atomTypeName);
54 >            ff.addAtomType(atomTypeName, dAtomType);
55          } else {
56              dAtomType = dynamic_cast<DirectionalAtomType*>(atomType);
57              if (dAtomType == NULL) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines