]> git.cworth.org Git - sup/commitdiff
whoops. left in some debugging stuff and didn't parenthesize shit optimally
authorwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Mon, 2 Apr 2007 01:04:10 +0000 (01:04 +0000)
committerwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Mon, 2 Apr 2007 01:04:10 +0000 (01:04 +0000)
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@364 5c8cc53c-5e98-4d25-b20a-d8db53a31250

lib/sup/buffer.rb
lib/sup/maildir.rb

index 36244304827d14b4c72240785c274d7fd0b50ddf..5642727884c1a94dd4bfd0531c34202ed762ae9b 100644 (file)
@@ -161,7 +161,7 @@ class BufferManager
 
     @buffers.delete buf
     if @buffers.length > 0 && @buffers.last.force_to_top?
-      @buffers.insert -2, buf
+      @buffers.insert(-2, buf)
     else
       @buffers.push buf
       focus_on buf
index 2db7ad85454ceedeb6911054d198b59a89e42429..c6aa69b03926afa66da567b2bbfb3fcdd8a03890 100644 (file)
@@ -73,7 +73,6 @@ class Maildir < Source
           ids << id
           ids_to_fns[id] = fn
         end
-        p [ids.sort, ids_to_fns]
         [ids.sort, ids_to_fns]
       end
     rescue SystemCallError => e