diff options
author | nyamatongwe <unknown> | 2013-05-05 00:14:08 +1000 |
---|---|---|
committer | nyamatongwe <unknown> | 2013-05-05 00:14:08 +1000 |
commit | 022f16f9531e66d873b96c723ef949a9f31af3be (patch) | |
tree | 207705b227bc4185ec762ee1b0a9e797b83868c5 /src/Editor.h | |
parent | c37c824e3a9f0ef57c5cdd41a42834b55ed78b91 (diff) | |
download | scintilla-mirror-022f16f9531e66d873b96c723ef949a9f31af3be.tar.gz |
Removed nethods that are no longer used and are less safe than alternatives.
Diffstat (limited to 'src/Editor.h')
-rw-r--r-- | src/Editor.h | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/src/Editor.h b/src/Editor.h index 51420cf1e..328bed8d0 100644 --- a/src/Editor.h +++ b/src/Editor.h @@ -91,20 +91,13 @@ public: Free(); } void Free() { - Set(0, 0, 0, 0, false, false); - } - void Set(char *s_, int len_, int codePage_, int characterSet_, bool rectangular_, bool lineCopy_) { delete []s; - s = s_; - if (s) - len = len_; - else - len = 0; - codePage = codePage_; - characterSet = characterSet_; - rectangular = rectangular_; - lineCopy = lineCopy_; - FixSelectionForClipboard(); + s = 0; + len = 0; + rectangular = false; + lineCopy = false; + codePage = 0; + characterSet = 0; } void Copy(const char *s_, int len_, int codePage_, int characterSet_, bool rectangular_, bool lineCopy_) { delete []s; |