about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-07-18 23:16:00 +0200
committerhut <hut@lavabit.com>2009-07-18 23:16:00 +0200
commitbc44357ac9e50100539025f1cdd802933c403e63 (patch)
treeea13192bdd6b37c501d9ec1046b87235a161fedf
parent06d077c641f856021b9a6afbc28d969bd2473ce8 (diff)
downloadranger-bc44357ac9e50100539025f1cdd802933c403e63.tar.gz
fixed bug 14 (sorting didn't always work)
-rw-r--r--TODO4
-rw-r--r--code/keys.rb2
2 files changed, 3 insertions, 3 deletions
diff --git a/TODO b/TODO
index 41db1e6f..c67e8133 100644
--- a/TODO
+++ b/TODO
@@ -15,7 +15,7 @@ Minor Issues
                specifically rm with write-protected files
    (X) #12  09/07/17  sync @marked with changes in on the file system
                if files are deleted, delete those from @marked too
-   ( ) #14  09/07/18  Sorting sometimes doesn't work
+   (X) #14  09/07/18  Sorting sometimes doesn't work
 
 
 Features
@@ -48,4 +48,4 @@ Required for next Release
                you may have typed something after the program stopped reading
                this could flush the text to ranger and result in unwanted actions
    ( ) #11  09/07/17  specify flags at data/types.rb
-   ( ) #14  09/07/18  Sorting sometimes doesn't work
+   (X) #14  09/07/18  Sorting sometimes doesn't work
diff --git a/code/keys.rb b/code/keys.rb
index cf585511..3e8c78fd 100644
--- a/code/keys.rb
+++ b/code/keys.rb
@@ -438,7 +438,7 @@ module Fm
 		when /^S(.)$/
 			Option.sort_reverse = $1.ord.between?(65, 90)
 
-			case $1
+			case $1.downcase
 			when 'n'
 				Option.sort = :name
 			when 'e'