Hi guys,

Commit 18637 (for *Bug
608329*<https://bugzilla.gnome.org/show_bug.cgi?id=608329>- Patch
to add Color to Account tabs) caused a segfault at startup because I had
renamed my "Accounts" tab.

The attached patch fixes it. There might be a better way but I think this
issue should be resolved rather sooner than later...

I've updated the AUTHOR's file as well, which might conflict with my patch
for *Bug 608032 <https://bugzilla.gnome.org/show_bug.cgi?id=608032>.*

Best regards,

Tom Van Braeckel
GSM: 0032 (0) 486 63 58 04
Index: AUTHORS
===================================================================
--- AUTHORS	(revision 18656)
+++ AUTHORS	(working copy)
@@ -269,6 +269,7 @@
 Diane Trout <detr...@earthlink.net> scheme QIF import patch
 Nicolae Turcan <nictur...@gmail.com> Romanian translation
 Richard -Gilligan- Uschold <usch...@cs.ucf.edu> tax report & txf export
+Tom Van Braeckel <tomvanbraec...@gmail.com> various patches and fixes
 Matthew Vanecek <mevane...@yahoo.com> lots of postgres backend work
 Didier Vidal <didier-de...@9online.fr> various G2 fixes.
 Oliver Vollmer <o...@mx.lihas.de> German account templates SKR03
Index: src/gnome-utils/gnc-main-window.c
===================================================================
--- src/gnome-utils/gnc-main-window.c	(revision 18656)
+++ src/gnome-utils/gnc-main-window.c	(working copy)
@@ -1793,7 +1793,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 (old_page_long_name != NULL && strstr(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