From 3722c94e232b39d2a05ef359a60d25ac0cbe7887 Mon Sep 17 00:00:00 2001 From: "Leandro A. F. Pereira" Date: Sun, 15 Oct 2006 21:57:09 +0000 Subject: Make menu shortcuts work, plug memory leaks, socket code cleanup --- hardinfo2/devices.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'hardinfo2/devices.c') 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 -- cgit v1.2.3