about summary refs log tree commit diff stats
path: root/code/draw.rb
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-07-19 00:14:44 +0200
committerhut <hut@lavabit.com>2009-07-19 00:14:44 +0200
commit6f78d08613c87a7ea563ad3ca124d5cefbf31c53 (patch)
tree2714de0e1e5c920889dbfbf2a8da2c8c38beccd5 /code/draw.rb
parent11b0027188d417727edcff1181093cc033a182b0 (diff)
downloadranger-6f78d08613c87a7ea563ad3ca124d5cefbf31c53.tar.gz
fixed bug 16 (incorrect sorting pointer)
Diffstat (limited to 'code/draw.rb')
-rw-r--r--code/draw.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/code/draw.rb b/code/draw.rb
index b32c49ff..43f2b8e1 100644
--- a/code/draw.rb
+++ b/code/draw.rb
@@ -66,6 +66,8 @@ module Fm
 
 			break if (f = d.files[lpo]) == nil
 
+			d.sort_if_needed
+
 			mycolor = if lpo == d.pos
 				if infos
 					Color.selected_current_row