aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CellBuffer.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2003-07-26 11:21:20 +0000
committernyamatongwe <unknown>2003-07-26 11:21:20 +0000
commitf63bc9525fca0390bdbd31e03c9343a9eae8d49c (patch)
treec26c3bde356a014adea79d3a4ed80811a6cb92d4 /src/CellBuffer.cxx
parent2bc715163ff4721661152f2dd24252db10b2d3f7 (diff)
downloadscintilla-mirror-f63bc9525fca0390bdbd31e03c9343a9eae8d49c.tar.gz
Bug fix for #761642 SCI_MARKERDELETEALL doesn't delete all
Diffstat (limited to 'src/CellBuffer.cxx')
-rw-r--r--src/CellBuffer.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CellBuffer.cxx b/src/CellBuffer.cxx
index 8f292869d..6dae67507 100644
--- a/src/CellBuffer.cxx
+++ b/src/CellBuffer.cxx
@@ -103,9 +103,9 @@ void MarkerHandleSet::RemoveNumber(int markerNum) {
if (mhn->number == markerNum) {
*pmhn = mhn->next;
delete mhn;
- return ;
+ } else {
+ pmhn = &((*pmhn)->next);
}
- pmhn = &((*pmhn)->next);
}
}