commit d8c553bd1a7864d42f06d6980f23d5f0882dcaf3
parent 6ed4071c201aabf091b0055010a116f46be57d60
Author: wmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Date: Wed, 13 Jun 2007 00:14:21 +0000
bugfix: whoops, s/next/return
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@450 5c8cc53c-5e98-4d25-b20a-d8db53a31250
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/sup/buffer.rb b/lib/sup/buffer.rb
@@ -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