]> git.cworth.org Git - sup/commitdiff
bugfix: whoops, s/next/return
authorwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Wed, 13 Jun 2007 00:14:21 +0000 (00:14 +0000)
committerwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Wed, 13 Jun 2007 00:14:21 +0000 (00:14 +0000)
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@450 5c8cc53c-5e98-4d25-b20a-d8db53a31250

lib/sup/buffer.rb

index cfcf40b1cfe71f504f5d7d5213292c018e090099..553716911abd9a1f1116c0478e1bac6b62444c36 100644 (file)
@@ -444,7 +444,7 @@ class BufferManager
   ## a little tricky because we can't just delete_at id because ids
   ## are relative (they're positions into the array).
   def clear id
-    next unless id # not sure why this happens---thread stuff?
+    return unless id # not sure why this happens---thread stuff?
     @minibuf_mutex.synchronize do
       @minibuf_stack[id] = nil
       if id == @minibuf_stack.length - 1