summaryrefslogtreecommitdiff
path: root/hardinfo2/devices.c
diff options
context:
space:
mode:
authorLeandro A. F. Pereira <leandro@hardinfo.org>2006-10-15 21:57:09 +0000
committerLeandro A. F. Pereira <leandro@hardinfo.org>2006-10-15 21:57:09 +0000
commit3722c94e232b39d2a05ef359a60d25ac0cbe7887 (patch)
tree3212d41dd2db5e96fe09587a80f6606e9fb69317 /hardinfo2/devices.c
parent9949aa0b97e44d67713eed79859028c5ba92b1a3 (diff)
Make menu shortcuts work, plug memory leaks, socket code cleanup
Diffstat (limited to 'hardinfo2/devices.c')
-rw-r--r--hardinfo2/devices.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/hardinfo2/devices.c b/hardinfo2/devices.c
index d5a1cefd..c43104d4 100644
--- a/hardinfo2/devices.c
+++ b/hardinfo2/devices.c
@@ -54,11 +54,11 @@ static gchar *battery_list = NULL;
#define WALK_UNTIL(x) while((*buf != '\0') && (*buf != x)) buf++
-#define GET_STR(field_name,ptr) \
- if (!ptr && strstr(tmp[0], field_name)) { \
- ptr = g_markup_escape_text(g_strstrip(tmp[1]), strlen(tmp[1])); \
- g_strfreev(tmp); \
- continue; \
+#define GET_STR(field_name,ptr) \
+ if (!ptr && strstr(tmp[0], field_name)) { \
+ ptr = g_markup_escape_text(g_strstrip(tmp[1]), strlen(tmp[1])); \
+ g_strfreev(tmp); \
+ continue; \
}
#include <vendor.h>