mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-06-13 05:37:42 +02:00
NOISSUE fix builds?
This commit is contained in:
@ -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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user