mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-12-27 12:15:26 +00:00
NOISSUE fix builds?
This commit is contained in:
parent
62c9fcdc6c
commit
e4599ee2d1
@ -17,7 +17,7 @@ bool load(const QString& path, std::vector<GameOptionItem> &contents, int & vers
|
|||||||
while(!file.atEnd())
|
while(!file.atEnd())
|
||||||
{
|
{
|
||||||
auto line = file.readLine();
|
auto line = file.readLine();
|
||||||
if(line.back() == '\n')
|
if(line.endsWith('\n'))
|
||||||
{
|
{
|
||||||
line.chop(1);
|
line.chop(1);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user