summaryrefslogtreecommitdiff
path: root/src/format.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-09-18 11:25:56 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-09-18 11:25:56 -0400
commitbdc180ff9cf4a0b953882117584f72d772fa362f (patch)
treed8753b2379b6cb14057def5834b24d01d286c7ef /src/format.cc
parent235f3cc0aed5b344dc4046543f326f0d99d44452 (diff)
downloadfork-ledger-bdc180ff9cf4a0b953882117584f72d772fa362f.tar.gz
fork-ledger-bdc180ff9cf4a0b953882117584f72d772fa362f.tar.bz2
fork-ledger-bdc180ff9cf4a0b953882117584f72d772fa362f.zip
Don't use single code format characters anymore. Access to object details
will now always be done with "%(identifier)".
Diffstat (limited to 'src/format.cc')
-rw-r--r--src/format.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/format.cc b/src/format.cc
index d0037927..e63627f4 100644
--- a/src/format.cc
+++ b/src/format.cc
@@ -237,7 +237,7 @@ format_t::element_t * format_t::parse_elements(const string& fmt)
buf[0] = *p;
buf[1] = '\0';
current->chars = buf;
- current->expr.parse(string("fmt_") + *p);
+ current->expr.parse(buf);
break;
}
}