gnucash stable: Document that transaction void-time invalid value is now INT64_MAX.

John Ralls jralls at code.gnucash.org
Sat Jul 18 19:49:19 EDT 2026


Updated	 via  https://github.com/Gnucash/gnucash/commit/332db182 (commit)
	from  https://github.com/Gnucash/gnucash/commit/6e33c238 (commit)



commit 332db182f2965fd1aa65894a49ee830cfa7d7132
Author: John Ralls <jralls at ceridwen.us>
Date:   Sat Jul 18 16:49:05 2026 -0700

    Document that transaction void-time invalid value is now INT64_MAX.

diff --git a/libgnucash/engine/Transaction.h b/libgnucash/engine/Transaction.h
index 937dadc629..22fa5143a1 100644
--- a/libgnucash/engine/Transaction.h
+++ b/libgnucash/engine/Transaction.h
@@ -740,7 +740,7 @@ const char *xaccTransGetVoidReason(const Transaction *transaction);
  *  @param tr The transaction in question.
  *
  *  @return A time64 containing the time that this transaction was
- *  voided. Returns a time of zero upon error.
+ *  voided. Returns INT64_MAX if there is no voided date.
  */
 time64 xaccTransGetVoidTime(const Transaction *tr);
 /** @} */



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



More information about the gnucash-changes mailing list