diff options
Diffstat (limited to 'crawl-ref/source/initfile.cc')
-rw-r--r-- | crawl-ref/source/initfile.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/crawl-ref/source/initfile.cc b/crawl-ref/source/initfile.cc index 30ade48c03..9a8be9dde2 100644 --- a/crawl-ref/source/initfile.cc +++ b/crawl-ref/source/initfile.cc @@ -375,8 +375,9 @@ static unsigned curses_attribute(const std::string &field) return CHATTR_REVERSE; else if (field == "dim") return CHATTR_DIM; - else if (field.find("hi:") == 0 || field.find("hilite:") == 0 || - field.find("highlight:") == 0) + else if (field.find("hi:") == 0 + || field.find("hilite:") == 0 + || field.find("highlight:") == 0) { int col = field.find(":"); int colour = str_to_colour(field.substr(col + 1)); @@ -391,7 +392,7 @@ static unsigned curses_attribute(const std::string &field) else if (field != "none") { Options.report_error( - make_stringf( "Bad colour -- %s\n", field.c_str() ) ); + make_stringf("Bad colour -- %s\n", field.c_str())); } return CHATTR_NORMAL; } |