diff options
author | nyamatongwe <unknown> | 2007-04-05 10:50:11 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2007-04-05 10:50:11 +0000 |
commit | 3ff8a54d7b9ddcb022d95b3b139ec46b7c7ad748 (patch) | |
tree | 04c2ad1b9fd3359de89792aeaa9567b9edd56628 /src/SplitVector.h | |
parent | 006ab38511adec6d91165cf21b14d4eb6976cc36 (diff) | |
download | scintilla-mirror-3ff8a54d7b9ddcb022d95b3b139ec46b7c7ad748.tar.gz |
Implemented decorations which are extended indicators.
Diffstat (limited to 'src/SplitVector.h')
-rw-r--r-- | src/SplitVector.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SplitVector.h b/src/SplitVector.h index 4b9875b4a..342be02ad 100644 --- a/src/SplitVector.h +++ b/src/SplitVector.h @@ -66,7 +66,7 @@ public: ~SplitVector() { delete []body; - body = NULL; + body = 0; } int GetGrowSize() const { @@ -85,7 +85,7 @@ public: // Move the gap to the end GapTo(lengthBody); T *newBody = new T[newSize]; - if ((size != 0) && (body != NULL)) { + if ((size != 0) && (body != 0)) { memmove(newBody, body, sizeof(T) * lengthBody); delete []body; } |