about summary refs log tree commit diff stats
path: root/code
diff options
context:
space:
mode:
Diffstat (limited to 'code')
-rw-r--r--code/directory.rb2
-rw-r--r--code/keys.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/code/directory.rb b/code/directory.rb
index 65c4047c..c3ab2fbe 100644
--- a/code/directory.rb
+++ b/code/directory.rb
@@ -224,7 +224,7 @@ class Directory
 
 	def sort()
 		@files = @files.sort {|x,y|
-			if Option.dir_first
+			if Option.list_dir_first
 				if x.dir?
 					if y.dir? then sort_sub(x, y) else -1 end
 				else
diff --git a/code/keys.rb b/code/keys.rb
index b042c10e..f3ea33d0 100644
--- a/code/keys.rb
+++ b/code/keys.rb
@@ -478,7 +478,7 @@ module Fm
 			Option.cd ^= true
 
 		when 'td'
-			Option.dir_first ^= true
+			Option.list_dir_first ^= true
 			@pwd.schedule
 
 		## }}}