=== modified file 'modules/comment/comment.module'
--- modules/comment/comment.module	2010-08-12 13:44:45 +0000
+++ modules/comment/comment.module	2011-04-19 00:02:26 +0000
@@ -1001,15 +1001,15 @@
         $comment->depth = count(explode('.', $comment->thread)) - 1;
 
         if ($mode == COMMENT_MODE_THREADED_COLLAPSED || $mode == COMMENT_MODE_THREADED_EXPANDED) {
-          if ($comment->depth > $divs) {
+          while ($comment->depth > $divs) {
+            // multiple indentations are possible for the topmost comment on the
+            // 2nd/3rd/... page with comments
             $divs++;
             $comments .= '<div class="indented">';
           }
-          else {
-            while ($comment->depth < $divs) {
-              $divs--;
-              $comments .= '</div>';
-            }
+          while ($comment->depth < $divs) {
+            $divs--;
+            $comments .= '</div>';
           }
         }
 

