]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/include/link.icc
release: 1.1.28
[lilypond.git] / flower / include / link.icc
index df560285f2958bfb802a236a6d88c5e54e44dfd1..4b3c886aad95625ec4d06b3e6aebb60837694a2d 100644 (file)
@@ -10,11 +10,11 @@ Link<T>::OK() const
 #ifndef NDEBUG
   if (previous_) 
     {
-       assert (previous_->next_ == this);
+      assert (previous_->next_ == this);
     }
   if (next_) 
     {
-       assert (next_->previous_ == this);
+      assert (next_->previous_ == this);
     }
 #endif    
 }
@@ -60,7 +60,7 @@ Link<T>::add (const T& thing)
   
   Link<T>* l = new Link<T>(this, next_, thing);
   if (next_)
-      next_->previous_ = l;
+    next_->previous_ = l;
   next_ = l;
 }
 
@@ -72,7 +72,7 @@ Link<T>::insert (const T& thing)
                                // bugfix hwn 16/9/96
   Link<T>* l = new Link<T>(previous_, this, thing);
   if (previous_)
-      previous_->next_ = l;
+    previous_->next_ = l;
   previous_ = l;
 }
 
@@ -84,14 +84,14 @@ inline void
 Link<T>::remove (List<T> &l)
 {
   if (previous_) 
-      previous_->next_ = next_;
+    previous_->next_ = next_;
   else 
-       l.top_ = next_;
+    l.top_ = next_;
 
   if (next_)
-      next_->previous_ = previous_;
+    next_->previous_ = previous_;
   else
-       l.bottom_ = previous_;
+    l.bottom_ = previous_;
 }
 
 template<class T>