summaryrefslogtreecommitdiff
path: root/src/format.cc
diff options
context:
space:
mode:
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;
}
}