NOISSUE fix builds?

This commit is contained in:
Petr Mrázek 2019-01-30 01:12:21 +01:00
parent 62c9fcdc6c
commit e4599ee2d1

View File

@ -17,7 +17,7 @@ bool load(const QString& path, std::vector<GameOptionItem> &contents, int & vers
while(!file.atEnd())
{
auto line = file.readLine();
if(line.back() == '\n')
if(line.endsWith('\n'))
{
line.chop(1);
}