aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/giftoxic/files/patch-src-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/giftoxic/files/patch-src-utils.c')
-rw-r--r--net-p2p/giftoxic/files/patch-src-utils.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/net-p2p/giftoxic/files/patch-src-utils.c b/net-p2p/giftoxic/files/patch-src-utils.c
deleted file mode 100644
index 13fe72ad34f4..000000000000
--- a/net-p2p/giftoxic/files/patch-src-utils.c
+++ /dev/null
@@ -1,22 +0,0 @@
---- src/utils.c.orig Tue May 27 21:37:18 2003
-+++ src/utils.c Sun Dec 28 14:25:22 2003
-@@ -366,6 +366,8 @@
-
- gulong divisor = 1;
- gint type = 0;
-+ gulong mod;
-+ gulong nice;
-
- if (size >= 1000000){
- divisor = 1000000;
-@@ -375,8 +377,8 @@
- type = 1;
- }
-
-- gulong mod = size % divisor;
-- gulong nice = size / divisor;
-+ mod = size % divisor;
-+ nice = size / divisor;
- strcpy(format, (mod == 0)?"%.0f":"%.2f");
- strcat(format, (nice == 1 && mod == 0?gettext(qtys[type][0]):gettext(qtys[type][1])));
- return g_strdup_printf(format, (gfloat) size / divisor);