gnucash stable: Ensure incorrectly coded counter KVP is read correctly.
John Ralls
jralls at code.gnucash.org
Fri May 26 21:27:02 EDT 2023
Updated via https://github.com/Gnucash/gnucash/commit/6111184c (commit)
from https://github.com/Gnucash/gnucash/commit/7d566389 (commit)
commit 6111184c735f98da7b2f5dcf529f5660a16d6bb3
Author: John Ralls <jralls at ceridwen.us>
Date: Fri May 26 21:24:06 2023 -0400
Ensure incorrectly coded counter KVP is read correctly.
Bug 798930 caused some counters to be saved as KVP double. If the
correct int64_t value isn't found when reading, or if a double is
encountered when loading the option dialog, get the double value
and cast it to int64_t.
Summary of changes:
libgnucash/engine/gnc-optiondb.cpp | 17 ++++++++++++++++-
libgnucash/engine/qofbook.cpp | 9 +++++++--
2 files changed, 23 insertions(+), 3 deletions(-)
More information about the gnucash-patches
mailing list