mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 13:30:02 +00:00
Merge pull request #13883 from iota97/cheat-newline
Fix adding extra new line on checkbox change
This commit is contained in:
commit
0e5558b2f2
@ -328,8 +328,10 @@ bool CwCheatScreen::RebuildCheatFile(int index) {
|
||||
return false;
|
||||
}
|
||||
|
||||
for (const auto &line : lines) {
|
||||
fs << line << '\n';
|
||||
for (int i = 0; i < lines.size(); ++i) {
|
||||
fs << lines[i];
|
||||
if (i != lines.size()-1)
|
||||
fs << '\n';
|
||||
}
|
||||
fs.close();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user