about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-07-19 00:39:36 +0200
committerhut <hut@lavabit.com>2009-07-19 00:39:36 +0200
commit8304d857333facb06aa574ac66da5ccd7761f630 (patch)
treee077f09eb24f7c4dc674f8d21aa42ab313c03179
parent31398215c22f0514b87387a1a1934c252b0767c5 (diff)
downloadranger-8304d857333facb06aa574ac66da5ccd7761f630.tar.gz
fixed error when sorting by mimetype
-rw-r--r--code/extensions/basic.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/extensions/basic.rb b/code/extensions/basic.rb
index 728af9c3..f54c3d75 100644
--- a/code/extensions/basic.rb
+++ b/code/extensions/basic.rb
@@ -62,7 +62,7 @@ class String
 	end
 
 	def filetype()
-		Fm::MIMETYPES[self] || 'unknown'
+		Directory::Entry::MIMETYPES[self] || 'unknown'
 	end
 
 	def sh