about summary refs log tree commit diff stats
path: root/code
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-06-29 07:09:34 +0200
committerhut <hut@lavabit.com>2009-06-29 07:09:34 +0200
commitb8234aedc8ea2f7ccca333266d3a86cb8aa5f962 (patch)
treebdcb8ebf896c473a8cda4f6358f722f3e6f030f8 /code
parentafe016c6b03c8d6c93998c8a997e6e99adf27a8c (diff)
downloadranger-b8234aedc8ea2f7ccca333266d3a86cb8aa5f962.tar.gz
stuff
Diffstat (limited to 'code')
-rw-r--r--code/draw.rb12
1 files changed, 5 insertions, 7 deletions
diff --git a/code/draw.rb b/code/draw.rb
index cb8ae88a..75f54a88 100644
--- a/code/draw.rb
+++ b/code/draw.rb
@@ -173,9 +173,9 @@ module Fm
 			if !OPTIONS['preview']
 				q = cols * 0.375 - 1
 				w = @path.last.width.limit(cols * 0.625, cols/8)
-			elsif currentfile.path =~ DONT_PREVIEW_THESE_FILES or (!OPTIONS['filepreview'] and !currentfile.dir?)
-				q = cols / 4
-				w = @path.last.width.limit(cols * 0.75, cols/8)
+#			elsif currentfile.path =~ DONT_PREVIEW_THESE_FILES or (!OPTIONS['filepreview'] and !currentfile.dir?)
+#				q = cols / 4
+#				w = @path.last.width.limit(cols * 0.75, cols/8)
 			else
 				q = cols / 4
 				w = @path.last.width.limit(cols/2, cols/8)
@@ -228,12 +228,10 @@ module Fm
 				puti 0, cols-s0.size, s0
 			end
 
-			s1 = ""
-			s1 << Socket.gethostname
-			s1 << ":"
+			s1 = "#{Socket.gethostname}:"
 			s2 = "#{@path.last.path}#{"/" unless @path.size == 1}"
 			s3 = "#{cf ? cf.basename : ''}"
-			
+
 			if s0
 				puti 0, (s1 + s2 + s3).ljust(cols-s0.size)
 			else