From 2cee0fe23f84a1e6ccd7078098df2c5ffbe0378f Mon Sep 17 00:00:00 2001 From: Martin Michlmayr Date: Sun, 18 May 2014 09:51:32 -0400 Subject: Cosmetic change - format code consistently Add a space between if and the opening bracket, between a closing round bracket and the following opening curly bracket, etc. --- src/format.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/format.cc') diff --git a/src/format.cc b/src/format.cc index 9b5e7d93..302c28d6 100644 --- a/src/format.cc +++ b/src/format.cc @@ -206,7 +206,7 @@ format_t::element_t * format_t::parse_elements(const string& fmt, sizeof(format_mapping_t)); i++) { if (*p == single_letter_mappings[i].letter) { std::ostringstream expr; - for (const char * ptr = single_letter_mappings[i].expr; *ptr; ){ + for (const char * ptr = single_letter_mappings[i].expr; *ptr;) { if (*ptr == '$') { const char * beg = ++ptr; while (*ptr && std::isalpha(*ptr)) -- cgit v1.2.3