r18658 - gnucash/trunk - Fix crash at startup on renamed Accounts tab, bug#608329.
Christian Stimming
cstim at code.gnucash.org
Mon Feb 15 14:40:21 EST 2010
Author: cstim
Date: 2010-02-15 14:40:20 -0500 (Mon, 15 Feb 2010)
New Revision: 18658
Trac: http://svn.gnucash.org/trac/changeset/18658
Modified:
gnucash/trunk/AUTHORS
gnucash/trunk/src/gnome-utils/gnc-main-window.c
Log:
Fix crash at startup on renamed Accounts tab, bug#608329.
Patch by Tom Van Braeckel.
Modified: gnucash/trunk/AUTHORS
===================================================================
--- gnucash/trunk/AUTHORS 2010-02-15 19:09:14 UTC (rev 18657)
+++ gnucash/trunk/AUTHORS 2010-02-15 19:40:20 UTC (rev 18658)
@@ -269,6 +269,7 @@
Diane Trout <detrout at earthlink.net> scheme QIF import patch
Nicolae Turcan <nicturcan at gmail.com> Romanian translation
Richard -Gilligan- Uschold <uschold at cs.ucf.edu> tax report & txf export
+Tom Van Braeckel <tomvanbraeckel at gmail.com> various patches and fixes
Matthew Vanecek <mevanecek at yahoo.com> lots of postgres backend work
Didier Vidal <didier-devel at 9online.fr> various G2 fixes.
Oliver Vollmer <ovo at mx.lihas.de> German account templates SKR03
Modified: gnucash/trunk/src/gnome-utils/gnc-main-window.c
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-main-window.c 2010-02-15 19:09:14 UTC (rev 18657)
+++ gnucash/trunk/src/gnome-utils/gnc-main-window.c 2010-02-15 19:40:20 UTC (rev 18658)
@@ -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;
More information about the gnucash-changes
mailing list