From ed47b30744de97b697c2fede987a2d7d4cdd7116 Mon Sep 17 00:00:00 2001 From: Burt P Date: Sun, 4 Nov 2018 18:20:13 -0600 Subject: Fix missing icons Fixes https://github.com/lpereira/hardinfo/issues/304 After 9eaf1a7a96aabc021594bcc6f5fe2ef60da8fb0c, the whole key part, including the opening and closing '$', is stored in INFO_TREE_COL_DATA so that the key_*() functions can be used against it anywhere. The first '$' no longer needs to be skipped. Signed-off-by: Burt P --- shell/shell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell') diff --git a/shell/shell.c b/shell/shell.c index 43b72c1c..26427975 100644 --- a/shell/shell.c +++ b/shell/shell.c @@ -1152,7 +1152,7 @@ group_handle_special(GKeyFile * key_file, ShellModuleEntry * entry, } else if (g_str_has_prefix(key, "Icon")) { GtkTreeIter *iter = g_hash_table_lookup(update_tbl, g_utf8_strchr(key, - -1, '$') + 1); + -1, '$') ); if (iter) { gchar *file = -- cgit v1.2.3