r15332 - gnucash/trunk/src/import-export/qif-import - Avoid crash in QIF import, page payees/memos. Fix #392707.

Andreas Köhler andi5 at cvs.gnucash.org
Tue Jan 9 15:18:09 EST 2007


Author: andi5
Date: 2007-01-09 15:18:08 -0500 (Tue, 09 Jan 2007)
New Revision: 15332
Trac: http://svn.gnucash.org/trac/changeset/15332

Modified:
   gnucash/trunk/src/import-export/qif-import/druid-qif-import.c
Log:
Avoid crash in QIF import, page payees/memos. Fix #392707.

On the payees/memo page in the QIF import druid, provide the callback
for line clicks the correct display information and not the one of
another/previous page. This slipped in r14588, 2.0 is crash-free.


Modified: gnucash/trunk/src/import-export/qif-import/druid-qif-import.c
===================================================================
--- gnucash/trunk/src/import-export/qif-import/druid-qif-import.c	2007-01-09 19:44:25 UTC (rev 15331)
+++ gnucash/trunk/src/import-export/qif-import/druid-qif-import.c	2007-01-09 20:18:08 UTC (rev 15332)
@@ -1135,7 +1135,7 @@
 				      gpointer          user_data)   
 {
   QIFImportWindow * wind = user_data;
-  select_line (wind, selection, wind->acct_display_info, wind->acct_map_info,
+  select_line (wind, selection, wind->memo_display_info, wind->memo_map_info,
 	       update_memo_page);
 }
 



More information about the gnucash-changes mailing list