about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-06-15 20:00:29 +0200
committerhut <hut@lavabit.com>2009-06-15 20:00:29 +0200
commit3b967916bdb9cd0c5fb289a5ac1087b5e50bd3c3 (patch)
treec6658572bbe658ebe53a1effe746090a3f71f567
parentcecde3a6c41e529d74615de0ced0b4f34d87caa9 (diff)
downloadranger-3b967916bdb9cd0c5fb289a5ac1087b5e50bd3c3.tar.gz
temporarily disabled preview of archives
-rw-r--r--code/fm/draw.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/fm/draw.rb b/code/fm/draw.rb
index f326ab23..482abf59 100644
--- a/code/fm/draw.rb
+++ b/code/fm/draw.rb
@@ -9,7 +9,7 @@ module Fm
 			m = lines - 2
 			attr_set(Color.base)
 			left, wid = get_boundaries(n)
-			if file.ext =~ /(?:rar|zip|7z|tar|gz)$/ and file.size < 10485760
+			if false and file.ext =~ /(?:rar|zip|7z|tar|gz)$/ and file.size < 10485760
 				text = `aunpack -l #{file.sh} 2>> /dev/null`
 				text.each_line do |l|
 					puti i+1, left, l[0, wid-1].ljust(wid)