aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/devices/battery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/devices/battery.c b/modules/devices/battery.c
index 3bce2d42..cbcebb12 100644
--- a/modules/devices/battery.c
+++ b/modules/devices/battery.c
@@ -234,7 +234,7 @@ read_contents(const gchar *base, const gchar *key)
}
free(path);
- return g_strstrip(value);
+ return g_strchomp(value);
}
static void