[Gnucash-changes] r14345 - gnucash/trunk/src/register/ledger-core - Um, uhh, important code change. Might fix #343798.*

Chris Shoemaker chris at cvs.gnucash.org
Tue Jun 6 21:34:55 EDT 2006


Author: chris
Date: 2006-06-06 21:34:54 -0400 (Tue, 06 Jun 2006)
New Revision: 14345
Trac: http://svn.gnucash.org/trac/changeset/14345

Modified:
   gnucash/trunk/src/register/ledger-core/split-register-util.c
Log:
   Um, uhh, important code change.  Might fix #343798.*

   (*) Might also do strange things to the register, esp. cursor motion.


Modified: gnucash/trunk/src/register/ledger-core/split-register-util.c
===================================================================
--- gnucash/trunk/src/register/ledger-core/split-register-util.c	2006-06-07 00:43:48 UTC (rev 14344)
+++ gnucash/trunk/src/register/ledger-core/split-register-util.c	2006-06-07 01:34:54 UTC (rev 14345)
@@ -225,7 +225,7 @@
       if ((cursor_class == CURSOR_CLASS_TRANS) && (s == trans_split))
         found_trans_split = TRUE;
 
-      if (found_trans && (s == split))
+      if (found_trans && (s == split) && s)
       {
         if (vcell_loc != NULL)
           *vcell_loc = vc_loc;



More information about the gnucash-changes mailing list