diff options
author | Burt P <pburt0@gmail.com> | 2018-11-04 18:20:13 -0600 |
---|---|---|
committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2018-11-06 07:18:25 -0800 |
commit | ed47b30744de97b697c2fede987a2d7d4cdd7116 (patch) | |
tree | cdf3fe761cd9aa180583c0de6c032375b8191dd1 /shell | |
parent | 335687f8d11626225b7a1b6d38e75af9f2da6282 (diff) |
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 <pburt0@gmail.com>
Diffstat (limited to 'shell')
-rw-r--r-- | shell/shell.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 = |