diff options
| author | nyamatongwe <devnull@localhost> | 2007-04-05 10:50:11 +0000 | 
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2007-04-05 10:50:11 +0000 | 
| commit | 2a30f053fd7ad4d9dcb8a5a39a3bf4da06f344e8 (patch) | |
| tree | 04c2ad1b9fd3359de89792aeaa9567b9edd56628 /src/SplitVector.h | |
| parent | d86e4efcf67d2fe73cd74c01f15318fa95d28f5a (diff) | |
| download | scintilla-mirror-2a30f053fd7ad4d9dcb8a5a39a3bf4da06f344e8.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;  			} | 
