Fix crash at startup on renamed Accounts tab, bug#608329.

Patch by Tom Van Braeckel.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18658 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Christian Stimming 2010-02-15 19:40:20 +00:00
parent 87af0d8007
commit 193a4d843e
2 changed files with 2 additions and 1 deletions

View File

@ -269,6 +269,7 @@ Arnold Troeger <troeger@samart.co.th> Mandrake packager
Diane Trout <detrout@earthlink.net> scheme QIF import patch
Nicolae Turcan <nicturcan@gmail.com> Romanian translation
Richard -Gilligan- Uschold <uschold@cs.ucf.edu> tax report & txf export
Tom Van Braeckel <tomvanbraeckel@gmail.com> various patches and fixes
Matthew Vanecek <mevanecek@yahoo.com> lots of postgres backend work
Didier Vidal <didier-devel@9online.fr> various G2 fixes.
Oliver Vollmer <ovo@mx.lihas.de> German account templates SKR03

View File

@ -1793,7 +1793,7 @@ main_window_update_page_name (GncPluginPage *page,
/* 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;