diff options
| author | nyamatongwe <devnull@localhost> | 2003-09-18 12:09:33 +0000 | 
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2003-09-18 12:09:33 +0000 | 
| commit | 76c4202281dba009808a205320b954fbeed2c5a1 (patch) | |
| tree | 72d83a54ac4f61b75435d77eb7cc02ce2ccb840e /src | |
| parent | d7bf44a60261f22c1084f0c0c53ca10084cd5655 (diff) | |
| download | scintilla-mirror-76c4202281dba009808a205320b954fbeed2c5a1.tar.gz | |
Fix for using wrong loop bound.
Diffstat (limited to 'src')
| -rw-r--r-- | src/XPM.cxx | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/XPM.cxx b/src/XPM.cxx index 03b151dd4..e693736a2 100644 --- a/src/XPM.cxx +++ b/src/XPM.cxx @@ -239,7 +239,7 @@ void XPMSet::Add(int id, const char *textForm) {  	width = -1;  	// Replace if this id already present -	for (int i = 0; i < maximum; i++) { +	for (int i = 0; i < len; i++) {  		if (set[i]->GetId() == id) {  			set[i]->Init(textForm);  			return; | 
