tag_editor.cpp: Fix misleading indentation

Prior to this commit GCC6 throws 2 warnings on lines 1062 and 1161
if the project is compiled with -Wmisleading-indentation.
The code blocks mentioned in the related notes seem to be indented
one tab too much.
This commit is contained in:
Arseny Maslennikov
2017-08-01 00:38:43 +03:00
committed by Andrzej Rybczak
parent d14426ffd1
commit 5733c44826

View File

@@ -1062,7 +1062,7 @@ void GetPatternList()
while (std::getline(input, line))
if (!line.empty())
Patterns.push_back(line);
input.close();
input.close();
}
}
}
@@ -1164,14 +1164,14 @@ std::string ParseFilename(MPD::MutableSong &s, std::string mask, bool preview)
if (*j == '_')
*j = ' ';
if (!preview)
{
MPD::MutableSong::SetFunction set = IntoSetFunction(it->first);
if (set)
s.setTags(set, it->second);
}
else
result << "%" << it->first << ": " << it->second << "\n";
if (!preview)
{
MPD::MutableSong::SetFunction set = IntoSetFunction(it->first);
if (set)
s.setTags(set, it->second);
}
else
result << "%" << it->first << ": " << it->second << "\n";
}
return result.str();
}