Hi,

Commit 18881 causes a segfault at startup for users that have renamed their
"Accounts" tab, the attached patch fixes it.

This bug had been patched before, but then the code was reverted and later
brought back, without reapplying the patch.

Best regards,

Tom.
Index: src/gnome-utils/gnc-main-window.c
===================================================================
--- src/gnome-utils/gnc-main-window.c	(revision 18883)
+++ src/gnome-utils/gnc-main-window.c	(working copy)
@@ -1924,7 +1924,7 @@
     /* Update Tooltip on notebook Tab */
     main_window_find_tab_event(window, page, &event_box);
 
-    if (strstr(old_page_long_name,old_page_name) != NULL)
+    if (g_strrstr(old_page_long_name,old_page_name) != NULL)
     {
         gchar *new_page_long_name;
         gint string_position;
_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to