summaryrefslogtreecommitdiff
path: root/format.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2006-02-25 10:55:49 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 02:41:26 -0400
commitf2a167e0ed4e0f23ddc0ffc68ec2a549b65670ac (patch)
treecd0dd475208cb9af1e8f2c95530d7ca4b73ad766 /format.cc
parent9545b22b41e06dcbee1a1368eddf709218458eb2 (diff)
downloadfork-ledger-f2a167e0ed4e0f23ddc0ffc68ec2a549b65670ac.tar.gz
fork-ledger-f2a167e0ed4e0f23ddc0ffc68ec2a549b65670ac.tar.bz2
fork-ledger-f2a167e0ed4e0f23ddc0ffc68ec2a549b65670ac.zip
*** empty log message ***
Diffstat (limited to 'format.cc')
-rw-r--r--format.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/format.cc b/format.cc
index bf769e3e..98bedff5 100644
--- a/format.cc
+++ b/format.cc
@@ -388,6 +388,7 @@ void format_t::format(std::ostream& out_str, const details_t& details) const
}
break;
+#ifdef USE_EDITOR
case element_t::SOURCE:
if (details.entry && details.entry->journal) {
int idx = details.entry->src_idx;
@@ -440,6 +441,7 @@ void format_t::format(std::ostream& out_str, const details_t& details) const
if (details.xact)
out << details.xact->end_line;
break;
+#endif
case element_t::DATE_STRING: {
std::time_t date = 0;