diff options
| author | Matthias Melcher <github@matthiasm.com> | 2023-11-06 11:36:02 +0100 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2023-11-06 11:36:02 +0100 |
| commit | c86ca1a9fc3bb8b09eb429458b2ecf68b62cd1de (patch) | |
| tree | 8c60474e660a584412fd590ef347c05ded35ac90 /fluid/mergeback.cxx | |
| parent | acc96cdf5666a37ff87d0038af74c1af1628ca11 (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.cxx | 2 |
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) { |
