Files
sqlitebrowser/libs/DB4S_PATCH_01
Martin Kleusberg 4d2845c028 Add separate patch file for commit 3a0e29cf28
This way we can keep track of the changed we did to the included third
party libraries.
2017-11-02 23:10:02 +01:00

14 lines
491 B
Plaintext

diff --git a/libs/qscintilla/lexers/LexSQL.cpp b/libs/qscintilla/lexers/LexSQL.cpp
index 1d00918..086955a 100644
--- a/libs/qscintilla/lexers/LexSQL.cpp
+++ b/libs/qscintilla/lexers/LexSQL.cpp
@@ -546,7 +546,7 @@ void SCI_METHOD LexerSQL::Lex(Sci_PositionU startPos, Sci_Position length, int i
}
break;
case SCE_SQL_STRING:
- if (sc.ch == '\\') {
+ if (options.sqlBackslashEscapes && sc.ch == '\\') {
// Escape sequence
sc.Forward();
} else if (sc.ch == '\"') {