summaryrefslogtreecommitdiff
path: root/src/emacs.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-01-11 17:55:15 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-01-11 17:55:15 -0600
commitd2915c6625d6d21d7d583797da8eea77ee608e3a (patch)
tree12926eae3af57171481e32e604e8f03d6aa0c9ff /src/emacs.cc
parent6ef201bcacdc54fc1264603ed45623426ea0ffe6 (diff)
downloadfork-ledger-d2915c6625d6d21d7d583797da8eea77ee608e3a.tar.gz
fork-ledger-d2915c6625d6d21d7d583797da8eea77ee608e3a.tar.bz2
fork-ledger-d2915c6625d6d21d7d583797da8eea77ee608e3a.zip
Fixed doubled quotes in pathnames in emacs report
Fixes #580
Diffstat (limited to 'src/emacs.cc')
-rw-r--r--src/emacs.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emacs.cc b/src/emacs.cc
index 7abdfd7f..d5e40114 100644
--- a/src/emacs.cc
+++ b/src/emacs.cc
@@ -41,7 +41,7 @@ namespace ledger {
void format_emacs_posts::write_xact(xact_t& xact)
{
if (xact.pos)
- out << "\"" << xact.pos->pathname << "\" "
+ out << "\"" << xact.pos->pathname.string() << "\" "
<< xact.pos->beg_line << " ";
else
out << "\"\" " << -1 << " ";