gnucash maint: GncEntry - Fix inverted comparison

Geert Janssens gjanssens at code.gnucash.org
Tue May 28 11:29:01 EDT 2019


Updated	 via  https://github.com/Gnucash/gnucash/commit/4ffc4d04 (commit)
	from  https://github.com/Gnucash/gnucash/commit/5873980c (commit)



commit 4ffc4d046f3d7aac80b6bff31b46449fa35df936
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Tue May 28 16:43:01 2019 +0200

    GncEntry - Fix inverted comparison

diff --git a/libgnucash/engine/gncEntry.c b/libgnucash/engine/gncEntry.c
index dc6ad8be0..785255a41 100644
--- a/libgnucash/engine/gncEntry.c
+++ b/libgnucash/engine/gncEntry.c
@@ -1334,7 +1334,7 @@ gncEntryRecomputeValues (GncEntry *entry)
     if (entry->b_tax_table)
     {
         time64 modtime = gncTaxTableLastModifiedSecs (entry->b_tax_table);
-        if (entry->b_taxtable_modtime == modtime)
+        if (entry->b_taxtable_modtime != modtime)
         {
             entry->values_dirty = TRUE;
             entry->b_taxtable_modtime = modtime;



Summary of changes:
 libgnucash/engine/gncEntry.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



More information about the gnucash-changes mailing list