summaryrefslogtreecommitdiff
path: root/fluid/mergeback.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2023-11-06 11:36:02 +0100
committerMatthias Melcher <github@matthiasm.com>2023-11-06 11:36:02 +0100
commitc86ca1a9fc3bb8b09eb429458b2ecf68b62cd1de (patch)
tree8c60474e660a584412fd590ef347c05ded35ac90 /fluid/mergeback.cxx
parentacc96cdf5666a37ff87d0038af74c1af1628ca11 (diff)
FLUID: '\r' (CR) is skipped when reading project files
Project and code files are now always written with LF instead of CRLF, even on MSWindows machines.
Diffstat (limited to 'fluid/mergeback.cxx')
-rw-r--r--fluid/mergeback.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/fluid/mergeback.cxx b/fluid/mergeback.cxx
index 4b3bf2807..9e830e152 100644
--- a/fluid/mergeback.cxx
+++ b/fluid/mergeback.cxx
@@ -443,7 +443,7 @@ int Fd_Mergeback::apply() {
*/
int Fd_Mergeback::merge_back(const Fl_String &s, const Fl_String &p, int task) {
int ret = 0;
- code = fl_fopen(s.c_str(), "r");
+ code = fl_fopen(s.c_str(), "rb");
if (!code) return -2;
do { // no actual loop, just make sure we close the code file
if (task == FD_MERGEBACK_ANALYSE) {