SOURCES: rtorrent-colors.patch - updated to 0.3.1

charles charles at pld-linux.org
Sun Aug 14 01:38:10 CEST 2005


Author: charles                      Date: Sat Aug 13 23:38:10 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- updated to 0.3.1

---- Files affected:
SOURCES:
   rtorrent-colors.patch (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SOURCES/rtorrent-colors.patch
diff -u SOURCES/rtorrent-colors.patch:1.4 SOURCES/rtorrent-colors.patch:1.5
--- SOURCES/rtorrent-colors.patch:1.4	Wed Aug 10 10:07:29 2005
+++ SOURCES/rtorrent-colors.patch	Sun Aug 14 01:38:05 2005
@@ -9,10 +9,9 @@
  }
  
  void
-diff -U 3 -H -d -r -N -- rtorrent-0.3.0.orig/src/display/utils.cc rtorrent-0.3.0/src/display/utils.cc
---- rtorrent-0.3.0.orig/src/display/utils.cc	2005-07-13 14:04:47.000000000 +0200
-+++ rtorrent-0.3.0/src/display/utils.cc	2005-07-29 19:22:16.000000000 +0200
-@@ -54,7 +54,7 @@
+--- rtorrent-0.3.1/src/display/utils.cc.orig	2005-08-12 19:09:58.000000000 +0200
++++ rtorrent-0.3.1/src/display/utils.cc	2005-08-14 01:12:18.000000000 +0200
+@@ -55,7 +55,7 @@
  }
  
  char*
@@ -21,19 +20,17 @@
    char* last = buf + length;
  
    buf += std::max(0, snprintf(buf, last - buf, "Torrent: "));
-@@ -68,11 +68,12 @@
-     buf += std::max(0, snprintf(buf, last - buf, "%6.1f / %6.1f MB",
+@@ -70,10 +70,11 @@
  				(double)d->get_download().get_bytes_done() / (double)(1 << 20),
  				(double)d->get_download().get_bytes_total() / (double)(1 << 20)));
--  
--  buf += std::max(0, snprintf(buf, last - buf, " Rate: %5.1f / %5.1f KiB Uploaded: %.1f MiB",
-+
-+  buf += std::max(0, snprintf(buf, last - buf, " Rate: %5.1f / %5.1f KiB Uploaded: %6.1f MiB Ratio: %5.2f",
+   
+-  buf += std::max(0, snprintf(buf, last - buf, " Rate: %5.1f / %5.1f KB Uploaded: %.1f MB",
++  buf += std::max(0, snprintf(buf, last - buf, " Rate: %5.1f / %5.1f KB Uploaded: %6.1f MB Ratio: %5.2f",
  			      (double)d->get_download().get_write_rate().rate() / (1 << 10),
  			      (double)d->get_download().get_read_rate().rate() / (1 << 10),
 -			      (double)d->get_download().get_write_rate().total() / (1 << 20)));
 +			      (double)d->get_download().get_write_rate().total() / (1 << 20),
-+                              ratio));
++			      ratio));
  
    return buf;
  }
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/rtorrent-colors.patch?r1=1.4&r2=1.5&f=u




More information about the pld-cvs-commit mailing list