diff options
| author | nyamatongwe <unknown> | 2003-09-18 12:09:33 +0000 | 
|---|---|---|
| committer | nyamatongwe <unknown> | 2003-09-18 12:09:33 +0000 | 
| commit | 9ffb97ea590ae0591034d08aa35f93b84921843e (patch) | |
| tree | 72d83a54ac4f61b75435d77eb7cc02ce2ccb840e | |
| parent | 8592fde005fd2ae78d2c4ed2842b34cb121758f7 (diff) | |
| download | scintilla-mirror-9ffb97ea590ae0591034d08aa35f93b84921843e.tar.gz | |
Fix for using wrong loop bound.
| -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; | 
