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
commit13f375ae582cfda3753bf8430a84cc7c7216915c (patch)
treecd0dd475208cb9af1e8f2c95530d7ca4b73ad766 /format.cc
parent793dbf26d9af5e052afd2bc5855053f5652ff5b8 (diff)
downloadfork-ledger-13f375ae582cfda3753bf8430a84cc7c7216915c.tar.gz
fork-ledger-13f375ae582cfda3753bf8430a84cc7c7216915c.tar.bz2
fork-ledger-13f375ae582cfda3753bf8430a84cc7c7216915c.zip
*** no comment ***
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;