diff options
author | nyamatongwe <devnull@localhost> | 2011-08-27 10:42:47 +1000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2011-08-27 10:42:47 +1000 |
commit | a832b1427aafb556b4e07652755b07590a88a73d (patch) | |
tree | 982e93d4bf7b1840bfaddb8056f32a0823d96b35 | |
parent | 2ee57393e9f6b240b76184d6d7f52c184025f091 (diff) | |
download | scintilla-mirror-a832b1427aafb556b4e07652755b07590a88a73d.tar.gz |
Basing default eol mode on _WIN32 instead of __unix__ as OS X does
not define __unix__.
-rw-r--r-- | src/Document.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Document.cxx b/src/Document.cxx index 2729d3d7b..5c05aa5e0 100644 --- a/src/Document.cxx +++ b/src/Document.cxx @@ -87,10 +87,10 @@ void LexInterface::Colourise(int start, int end) { Document::Document() { refCount = 0; -#ifdef __unix__ - eolMode = SC_EOL_LF; -#else +#ifdef _WIN32 eolMode = SC_EOL_CRLF; +#else + eolMode = SC_EOL_LF; #endif dbcsCodePage = 0; stylingBits = 5; |