diff options
Diffstat (limited to 'x11-fm/endeavour/files/patch-ab')
-rw-r--r-- | x11-fm/endeavour/files/patch-ab | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/x11-fm/endeavour/files/patch-ab b/x11-fm/endeavour/files/patch-ab deleted file mode 100644 index a4fdbc39cb35..000000000000 --- a/x11-fm/endeavour/files/patch-ab +++ /dev/null @@ -1,14 +0,0 @@ ---- endeavour/devrec.cpp.orig Sat May 26 07:03:07 2001 -+++ endeavour/devrec.cpp Thu Jun 7 00:50:17 2001 -@@ -389,8 +389,9 @@ - capacity_available = atol(strv[3]); - - /* Calculate capacity percent. */ -- capacity_percent = (double)capacity_used / -- (double)capacity_total * 100; -+ if ((double)capacity_total) -+ capacity_percent = (double)capacity_used / -+ (double)capacity_total * 100; - - strncpy(path, strv[5], PATH_MAX + NAME_MAX); - path[PATH_MAX + NAME_MAX - 1] = '\0'; |