diff options
Diffstat (limited to 'src/ARCodeFile.cpp')
-rw-r--r-- | src/ARCodeFile.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ARCodeFile.cpp b/src/ARCodeFile.cpp index d1f34fb..80833e3 100644 --- a/src/ARCodeFile.cpp +++ b/src/ARCodeFile.cpp @@ -162,20 +162,20 @@ bool ARCodeFile::Save() { ARCodeCat& cat = *it; - if (it != Categories.begin()) FileWriteFormatted(f, "\r\n"); - FileWriteFormatted(f, "CAT %s\r\n\r\n", cat.Name.c_str()); + if (it != Categories.begin()) FileWriteFormatted(f, "\n"); + FileWriteFormatted(f, "CAT %s\n\n", cat.Name.c_str()); for (ARCodeList::iterator jt = cat.Codes.begin(); jt != cat.Codes.end(); jt++) { ARCode& code = *jt; - FileWriteFormatted(f, "CODE %d %s\r\n", code.Enabled, code.Name.c_str()); + FileWriteFormatted(f, "CODE %d %s\n", code.Enabled, code.Name.c_str()); for (size_t i = 0; i < code.Code.size(); i+=2) { - FileWriteFormatted(f, "%08X %08X\r\n", code.Code[i], code.Code[i + 1]); + FileWriteFormatted(f, "%08X %08X\n", code.Code[i], code.Code[i + 1]); } - FileWriteFormatted(f, "\r\n"); + FileWriteFormatted(f, "\n"); } } |