summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-27 21:38:57 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-27 21:38:57 +0000
commitfc58305a1a67ab176b7f2c59b2510ee1f589469d (patch)
tree0fda8d2f95d201500a20be60606f60d2f5d6164e
parentb12c7d1d6b50fd41c4aa8deea89bb92f3d43ec08 (diff)
downloadtdeutils-fc58305a1a67ab176b7f2c59b2510ee1f589469d.tar.gz
tdeutils-fc58305a1a67ab176b7f2c59b2510ee1f589469d.zip
Fix a number of accidental tqStatus string conversions
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1249829 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rw-r--r--klaptopdaemon/portable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/klaptopdaemon/portable.cpp b/klaptopdaemon/portable.cpp
index 346a311..dbcb57c 100644
--- a/klaptopdaemon/portable.cpp
+++ b/klaptopdaemon/portable.cpp
@@ -304,7 +304,7 @@ readit:
char buff2[1024];
if (fgets(buff2, sizeof(buff), f) == NULL)
break;
- if (strstr(buff2, "tqStatus:") != NULL ||
+ if (strstr(buff2, "Status:") != NULL ||
strstr(buff2, "state:") != NULL) {
if (strstr(buff2, "on-line") != NULL) {
fclose(f);