diff options
author | pommicket <pommicket@gmail.com> | 2023-10-19 09:47:57 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-10-19 09:47:57 -0400 |
commit | 30f37caf7d9facf7698d01ef77d7da93e7316103 (patch) | |
tree | ac49bf6d922766a3613651dec9783099c87930bc /buffer.c | |
parent | 0dc4d4db3a91faa799187fd321fcae82b12f9b66 (diff) |
basic editorconfig implementation
Diffstat (limited to 'buffer.c')
-rw-r--r-- | buffer.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -3185,10 +3185,8 @@ static bool buffer_write_to_file(TextBuffer *buffer, const char *path) { } if (i != buffer->nlines-1) { - #if _WIN32 - if (settings->crlf_windows) + if (settings->crlf) putc('\r', out); - #endif putc('\n', out); } } |