summaryrefslogtreecommitdiff
path: root/src/item.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-04-04 01:36:31 -0500
committerJohn Wiegley <johnw@newartisans.com>2012-04-04 02:26:34 -0500
commitfcabd64a8981004179fa94c0f58ade7e993399b4 (patch)
treec50193a516fc79cded05cad82703ad3068386d18 /src/item.cc
parent1809e63fb0e6f7e64d7c2af73e41a24225809ea2 (diff)
downloadfork-ledger-fcabd64a8981004179fa94c0f58ade7e993399b4.tar.gz
fork-ledger-fcabd64a8981004179fa94c0f58ade7e993399b4.tar.bz2
fork-ledger-fcabd64a8981004179fa94c0f58ade7e993399b4.zip
Whitespace fix
Diffstat (limited to 'src/item.cc')
-rw-r--r--src/item.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/item.cc b/src/item.cc
index 33c3110c..9e8ac472 100644
--- a/src/item.cc
+++ b/src/item.cc
@@ -117,9 +117,8 @@ item_t::set_tag(const string& tag,
<< (value ? *value : string_value("<none>")) << "'");
optional<value_t> data = value;
- if (data &&
- (data->is_null() ||
- (data->is_string() && data->as_string().empty())))
+ if (data && (data->is_null() ||
+ (data->is_string() && data->as_string().empty())))
data = none;
string_map::iterator i = metadata->find(tag);