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

Fix indentation from tabs to two spaces to prepare merging with MultipleMolecules

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/bond.cpp

    r307290 r560995  
    1414bond::bond()
    1515{
    16         leftatom = NULL;
    17         rightatom = NULL;
     16  leftatom = NULL;
     17  rightatom = NULL;
    1818  previous = NULL;
    1919  next = NULL;
    20         nr = -1;
    21         HydrogenBond = 0;
    22         BondDegree = 0;
     20  nr = -1;
     21  HydrogenBond = 0;
     22  BondDegree = 0;
    2323  Used = white;
    2424  Cyclic = false;
     
    3434bond::bond(atom *left, atom *right, int degree=1, int number=0)
    3535{
    36         leftatom = left;
    37         rightatom = right;
     36  leftatom = left;
     37  rightatom = right;
    3838  previous = NULL;
    3939  next = NULL;
    40         HydrogenBond = 0;
     40  HydrogenBond = 0;
    4141  if ((left != NULL) && (right != NULL)) {
    42         if ((left->type != NULL) && (left->type->Z == 1))
    43                 HydrogenBond++;
    44         if ((right->type != NULL) && (right->type->Z == 1))
    45                 HydrogenBond++;
     42    if ((left->type != NULL) && (left->type->Z == 1))
     43      HydrogenBond++;
     44    if ((right->type != NULL) && (right->type->Z == 1))
     45      HydrogenBond++;
    4646  }
    4747  BondDegree = degree;
Note: See TracChangeset for help on using the changeset viewer.