Ignore:
Timestamp:
Jul 23, 2009, 12:14:13 PM (16 years ago)
Author:
Frederik Heber <heber@…>
Children:
f39735
Parents:
a41b50
Message:

Fix indentation from tab to two spaces.

The trouble was caused at the merge e08f45e4539ffcc30e039dec5606cf06b45ab6be. Seemingly, I thought eclipse had pulled some shit which i didn't

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/moleculelist.cpp

    ra41b50 r1b2aa1  
    527527
    528528  // open file for the force factors
    529   *out << Verbose(1) << "Saving force factors ... ";
     529  *out << Verbose(1) << "Saving  force factors ... ";
    530530  line << path << "/" << FRAGMENTPREFIX << FORCESFILE;
    531531  ForcesFile.open(line.str().c_str(), ios::out);
     
    695695MoleculeLeafClass::MoleculeLeafClass(MoleculeLeafClass *PreviousLeaf = NULL)
    696696{
    697   //    if (Up != NULL)
    698   //            if (Up->DownLeaf == NULL) // are we the first down leaf for the upper leaf?
    699   //                    Up->DownLeaf = this;
    700   //    UpLeaf = Up;
    701   //    DownLeaf = NULL;
     697  //  if (Up != NULL)
     698  //    if (Up->DownLeaf == NULL) // are we the first down leaf for the upper leaf?
     699  //      Up->DownLeaf = this;
     700  //  UpLeaf = Up;
     701  //  DownLeaf = NULL;
    702702  Leaf = NULL;
    703703  previous = PreviousLeaf;
     
    715715MoleculeLeafClass::~MoleculeLeafClass()
    716716{
    717   //    if (DownLeaf != NULL) {// drop leaves further down
    718   //            MoleculeLeafClass *Walker = DownLeaf;
    719   //            MoleculeLeafClass *Next;
    720   //            do {
    721   //                    Next = Walker->NextLeaf;
    722   //                    delete(Walker);
    723   //                    Walker = Next;
    724   //            } while (Walker != NULL);
    725   //            // Last Walker sets DownLeaf automatically to NULL
    726   //    }
     717  //  if (DownLeaf != NULL) {// drop leaves further down
     718  //    MoleculeLeafClass *Walker = DownLeaf;
     719  //    MoleculeLeafClass *Next;
     720  //    do {
     721  //      Next = Walker->NextLeaf;
     722  //      delete(Walker);
     723  //      Walker = Next;
     724  //    } while (Walker != NULL);
     725  //    // Last Walker sets DownLeaf automatically to NULL
     726  //  }
    727727  // remove the leaf itself
    728728  if (Leaf != NULL) {
     
    733733  if (previous != NULL)
    734734    previous->next = next;
    735   //    } else { // we are first in list (connects to UpLeaf->DownLeaf)
    736   //            if ((NextLeaf != NULL) && (NextLeaf->UpLeaf == NULL))
    737   //                    NextLeaf->UpLeaf = UpLeaf;      // either null as we are top level or the upleaf of the first node
    738   //            if (UpLeaf != NULL)
    739   //                    UpLeaf->DownLeaf = NextLeaf;    // either null as we are only leaf or NextLeaf if we are just the first
    740   //    }
    741   //    UpLeaf = NULL;
     735  //  } else { // we are first in list (connects to UpLeaf->DownLeaf)
     736  //    if ((NextLeaf != NULL) && (NextLeaf->UpLeaf == NULL))
     737  //      NextLeaf->UpLeaf = UpLeaf;  // either null as we are top level or the upleaf of the first node
     738  //    if (UpLeaf != NULL)
     739  //      UpLeaf->DownLeaf = NextLeaf;  // either null as we are only leaf or NextLeaf if we are just the first
     740  //  }
     741  //  UpLeaf = NULL;
    742742  if (next != NULL) // are we last in list
    743743    next->previous = previous;
Note: See TracChangeset for help on using the changeset viewer.