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:
Robert Fewell 2020-11-06 13:05:42 +00:00
parent afcf1765f6
commit 65b7b8c4a2

View File

@ -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