fix style issue

This commit is contained in:
Axel Kohlmeyer
2020-06-03 16:58:08 -04:00
parent dd11fb3964
commit 9297211b06

View File

@ -228,9 +228,8 @@ void Error::warning(const std::string &file, int line, const std::string &str, i
void Error::message(const std::string &file, int line, const std::string &str, int logflag)
{
std::string mesg = fmt::format("{} ({}:{})\n",
str,truncpath(file),line);
std::string mesg = fmt::format("{} ({}:{})\n",str,truncpath(file),line);
if (screen) fputs(mesg.c_str(),screen);
if (logflag && logfile) fputs(mesg.c_str(),logfile);
}