summaryrefslogtreecommitdiff
path: root/modules/computer.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/computer.c')
-rw-r--r--modules/computer.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/computer.c b/modules/computer.c
index a739b471..7167582f 100644
--- a/modules/computer.c
+++ b/modules/computer.c
@@ -98,7 +98,6 @@ gchar *hi_get_field(gchar * field)
{
gchar *tmp;
- setlocale(LC_ALL, "C"); //Load Average is not updated if locale is not C, switch locale to C
if (g_str_equal(field, "Memory")) {
MemoryInfo *mi = computer_get_memory();
@@ -118,7 +117,6 @@ gchar *hi_get_field(gchar * field)
} else {
tmp = g_strdup("");
}
- setlocale(LC_ALL, "");// switch locale back to normal
return tmp;
}