mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Added second if clause for completeness.
This commit is contained in:
parent
e1d4075273
commit
89dbc09410
@ -1376,6 +1376,7 @@ compare_prices_by_commodity_date (gconstpointer a, gconstpointer b)
|
||||
if (!a && !b) return 0;
|
||||
/* nothing is always less than something */
|
||||
if (!a) return -1;
|
||||
if (!b) return 1;
|
||||
|
||||
comma = gnc_price_get_commodity ((GNCPrice *) a);
|
||||
commb = gnc_price_get_commodity ((GNCPrice *) b);
|
||||
|
Loading…
Reference in New Issue
Block a user