diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/LexPS.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LexPS.cxx b/src/LexPS.cxx index ff4521769..2edcff150 100644 --- a/src/LexPS.cxx +++ b/src/LexPS.cxx @@ -107,7 +107,7 @@ static void ColourisePSDoc( sc.SetState(SCE_C_DEFAULT); } else if (sc.atLineEnd) { sc.SetState(SCE_C_DEFAULT); - } else if (IsAWhitespaceChar(sc.ch)) { + } else if (IsAWhitespaceChar(sc.ch) && sc.ch != '\r') { sc.ChangeState(SCE_PS_COMMENT); } } else if (sc.state == SCE_PS_NUMBER) { |