summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textual.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/textual.cc b/textual.cc
index 51d221cb..80a21a61 100644
--- a/textual.cc
+++ b/textual.cc
@@ -165,7 +165,7 @@ bool finalize_entry(entry_t * entry)
// determine its price by dividing the unit count into the value of
// the balance. This is done for the last eligible commodity.
- if (! balance.amounts.empty() && balance.amounts.size() == 2)
+ if (balance.amounts.size() == 2)
for (transactions_list::const_iterator x = entry->transactions.begin();
x != entry->transactions.end();
x++) {