summary refs log tree commit diff stats
path: root/code/keys.rb
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-06-11 21:32:40 +0200
committerhut <hut@lavabit.com>2009-06-11 21:32:40 +0200
commit41fddc99de7878ff7d90fafcb120003d0dc2c0d9 (patch)
treeeb9cde32d67bea7418a73316f0ee1d06fe0de645 /code/keys.rb
parentcea26b6d270526ffc241d8a38b1f27188a8868c3 (diff)
downloadranger-41fddc99de7878ff7d90fafcb120003d0dc2c0d9.tar.gz
mooo
Diffstat (limited to 'code/keys.rb')
-rw-r--r--code/keys.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/code/keys.rb b/code/keys.rb
index f3fcdbee..bca4f4cd 100644
--- a/code/keys.rb
+++ b/code/keys.rb
@@ -108,9 +108,9 @@ module Fm
 			elsif @buffer == 'F'
 				descend
 			elsif @buffer[-1] == ?>
-				@buffer.slice! /(<.*)?>$/
+				@buffer.slice!(/(<.*)?>$/)
 			else
-				@buffer.slice! -1
+				@buffer.slice!(-1)
 			end
 		elsif key == '<c-u>'
 			@buffer = ''