aboutsummaryrefslogtreecommitdiff
path: root/misc/kdeutils3/files/patch-portable.cpp
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2002-01-29 04:56:35 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2002-01-29 04:56:35 +0000
commitb315e20b06b5067b11496cbfb4744f5cf16a9639 (patch)
tree3fe761c428249a06677cf9f97eb9badee0732a6a /misc/kdeutils3/files/patch-portable.cpp
parent7f06f7b43a65cd1bd87825a1886b0e08e87f38e3 (diff)
This commit was manufactured by cvs2svn to create tag 'RELEASE_4_5_0'.release/4.5.0
Notes
Notes: svn path=/head/; revision=53938 svn path=/tags/RELEASE_4_5_0/; revision=53939; tag=release/4.5.0
Diffstat (limited to 'misc/kdeutils3/files/patch-portable.cpp')
-rw-r--r--misc/kdeutils3/files/patch-portable.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/misc/kdeutils3/files/patch-portable.cpp b/misc/kdeutils3/files/patch-portable.cpp
deleted file mode 100644
index d6746dc1c282..000000000000
--- a/misc/kdeutils3/files/patch-portable.cpp
+++ /dev/null
@@ -1,20 +0,0 @@
---- klaptopdaemon/portable.cpp- Thu Jun 28 00:08:02 2001
-+++ klaptopdaemon/portable.cpp Thu Jun 28 00:08:22 2001
-@@ -453,7 +453,7 @@
- if (ret == -1)
- return 0;
-
-- return (info.ai_batt_time != 0xffff);
-+ return (info.ai_batt_time != -1);
- }
-
- //
-@@ -638,7 +638,7 @@
-
- p.powered = info.ai_acline;
- p.percentage = (info.ai_batt_life==255 ? 100 : info.ai_batt_life);
-- p.time = (info.ai_batt_time != 0xffff ? info.ai_batt_time/60 : -1);
-+ p.time = (info.ai_batt_time != -1 ? info.ai_batt_time/60 : -1);
- return(p);
-
- bad: