diff options
author | nyamatongwe <devnull@localhost> | 2010-03-14 02:53:42 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2010-03-14 02:53:42 +0000 |
commit | 837b4e4f934311c7afd07c73fe5b05522e719ba0 (patch) | |
tree | 84eae42e352b5a6281451bec7213415c7998d650 /src | |
parent | 36550f3c1ed7cc7207ae04206b8424cde303691b (diff) | |
download | scintilla-mirror-837b4e4f934311c7afd07c73fe5b05522e719ba0.tar.gz |
Fixed bug where number of character in regular expression replace was
miscounting size of result which could lead to NULs in result.
Diffstat (limited to 'src')
-rw-r--r-- | src/Document.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Document.cxx b/src/Document.cxx index 954ff9daf..b1130bd09 100644 --- a/src/Document.cxx +++ b/src/Document.cxx @@ -1737,6 +1737,7 @@ const char *BuiltinRegex::SubstituteByPosition(Document *doc, const char *text, case 'r': case 't': case 'v': + case '\\': i++; } lenResult++; |