From 9fb9868b548844d474d4834d45f1408c9576ac27 Mon Sep 17 00:00:00 2001 From: John Ralls Date: Fri, 17 Sep 2021 14:43:59 -0700 Subject: [PATCH] Bug 798312 - Opening the help for dialogues in the wrong language. --- gnucash/gnome-utils/gnc-gnome-utils.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gnucash/gnome-utils/gnc-gnome-utils.c b/gnucash/gnome-utils/gnc-gnome-utils.c index aaefcf5670..6a44d38cfc 100644 --- a/gnucash/gnome-utils/gnc-gnome-utils.c +++ b/gnucash/gnome-utils/gnc-gnome-utils.c @@ -267,7 +267,10 @@ gnc_gnome_help_yelp_anchor_fix (GtkWindow *parent, const char *file_name, const { gchar *filename = g_build_filename (help_path, *langs, help_file, NULL); if (g_file_test (filename, G_FILE_TEST_EXISTS)) + { full_path = g_strdup (filename); + break; + } g_free (filename); } g_free (help_path);