aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOsmium Sorcerer <os@sof.beauty>2026-03-24 23:34:51 +0000
committerOsmium Sorcerer <os@sof.beauty>2026-03-30 13:07:11 +0000
commit80951bce78279a5e306983962b7367b7e1735fa8 (patch)
tree4b7fc1c881fc4580af428fc1e27d919a8fd90852
parentf3db43e40ad7d83a7ac185469920c94fc8d090cd (diff)
CRLF to LF in append_to_file
-rw-r--r--src/text_file_functions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/text_file_functions.cpp b/src/text_file_functions.cpp
index 7d80b4e..c6bd2db 100644
--- a/src/text_file_functions.cpp
+++ b/src/text_file_functions.cpp
@@ -122,7 +122,7 @@ bool AOApplication::append_to_file(QString p_text, QString p_file, bool make_dir
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
out.setCodec("UTF-8");
#endif
- out << "\r\n" << p_text;
+ out << "\n" << p_text;
f_log.flush();
f_log.close();