mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Section help on windows not working
Key and group names are case sensitive and in the gnucash-help.hhmap file the section name is [MAP] so change gnc-help-utils.c to match
This commit is contained in:
parent
afcf1765f6
commit
65b7b8c4a2
@ -57,13 +57,13 @@ parse_hhmap_file(const gchar *chmfile)
|
||||
if (!g_key_file_load_from_file(keyfile, mapfile, G_KEY_FILE_NONE, &error))
|
||||
goto cleanup_parse;
|
||||
|
||||
if (NULL == (keys = g_key_file_get_keys(keyfile, "Map", NULL, &error)))
|
||||
if (NULL == (keys = g_key_file_get_keys(keyfile, "MAP", NULL, &error)))
|
||||
goto cleanup_parse;
|
||||
|
||||
ctxtmap = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, NULL);
|
||||
for (key = keys; *key; key++)
|
||||
{
|
||||
value = g_key_file_get_integer(keyfile, "Map", *key, &error);
|
||||
value = g_key_file_get_integer(keyfile, "MAP", *key, &error);
|
||||
if (error)
|
||||
goto cleanup_parse;
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user