about summary refs log tree commit diff stats
path: root/code
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-07-19 23:16:09 +0200
committerhut <hut@lavabit.com>2009-07-19 23:16:09 +0200
commite8b1495960f191ad47f611f3b84a0961dfca7063 (patch)
treed794d86da63d8fc628c2b3ce9d754c97901f8f9a /code
parent3b20bf79874ec8784799ccd78ac236b9b3838956 (diff)
downloadranger-e8b1495960f191ad47f611f3b84a0961dfca7063.tar.gz
bugfix, click in first row didn't select pointed file
Diffstat (limited to 'code')
-rw-r--r--code/keys.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/keys.rb b/code/keys.rb
index 5916c69c..e076fde3 100644
--- a/code/keys.rb
+++ b/code/keys.rb
@@ -502,8 +502,8 @@ module Fm
 					when ranges[0]
 						descend
 						if left
-							@pwd.pos = get_offset( @path[-1], lines ) + mouse.y - 1
 							descend
+							@pwd.pos = get_offset( @path[-1], lines ) + mouse.y - 1
 						end
 					when ranges[1]
 						descend