From 8fb73c7ed1e5f1c7c14c5cffbdda79feff09373e Mon Sep 17 00:00:00 2001 From: Christopher Lam Date: Tue, 24 Dec 2019 16:43:55 +0700 Subject: [PATCH] [gnc-lot.h] amend description for gnc_lot_get_earliest_split this function doesn't necessarily point to the lot opening split. --- libgnucash/engine/gnc-lot.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libgnucash/engine/gnc-lot.h b/libgnucash/engine/gnc-lot.h index c725b6f8f7..bbebdb7917 100644 --- a/libgnucash/engine/gnc-lot.h +++ b/libgnucash/engine/gnc-lot.h @@ -147,9 +147,10 @@ void gnc_lot_get_balance_before (const GNCLot *, const Split *, gboolean gnc_lot_is_closed (GNCLot *); /** The gnc_lot_get_earliest_split() routine is a convenience routine - * that helps identify the date this lot was opened. It simply + * that helps identify the earliest date in the lot. It simply * loops over all of the splits in the lot, and returns the split - * with the earliest split->transaction->date_posted. + * with the earliest split->transaction->date_posted. It may not + * necessarily identify the lot opening split. */ Split * gnc_lot_get_earliest_split (GNCLot *lot);