summaryrefslogtreecommitdiff
path: root/src/iterators.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/iterators.cc')
-rw-r--r--src/iterators.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/iterators.cc b/src/iterators.cc
index 34beba7e..da5265a9 100644
--- a/src/iterators.cc
+++ b/src/iterators.cc
@@ -169,7 +169,7 @@ void walk_commodities(commodity_pool_t::commodities_by_ident& commodities,
i = commodities.begin();
i != commodities.end();
i++) {
- if ((*i)->has_flags(COMMODITY_STYLE_NOMARKET))
+ if ((*i)->has_flags(COMMODITY_NOMARKET))
continue;
entry_temps.push_back(entry_t());