Updating branch refs/heads/master
         to 96f74145b5366fa7cd8af736b235f08a7e410f89 (commit)
       from e5ece6b4649077fc4181e6f7b62b3aa2394cdefc (commit)

commit 96f74145b5366fa7cd8af736b235f08a7e410f89
Author: Nick Schermer <[email protected]>
Date:   Fri Dec 30 21:37:12 2011 +0100

    Round to 1 digit.

 fancyindex/models/archive.rb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fancyindex/models/archive.rb b/fancyindex/models/archive.rb
index 78f828c..e791621 100644
--- a/fancyindex/models/archive.rb
+++ b/fancyindex/models/archive.rb
@@ -60,7 +60,7 @@ module Fancyindex
             size /= 1024.0
             count += 1
           end
-          format("%.0f",size) + %w(B KB MB GB TB)[count]
+          format("%.1f",size) + %w(B KB MB GB TB)[count]
         end
 
         def mtime
_______________________________________________
Xfce4-commits mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to