about summary refs log tree commit diff stats
path: root/code/keys.rb
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/keys.rb
parent3b20bf79874ec8784799ccd78ac236b9b3838956 (diff)
downloadranger-e8b1495960f191ad47f611f3b84a0961dfca7063.tar.gz
bugfix, click in first row didn't select pointed file
Diffstat (limited to 'code/keys.rb')
-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
9 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225