aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2003-07-26 11:21:20 +0000
committernyamatongwe <devnull@localhost>2003-07-26 11:21:20 +0000
commit54a6d77eb92452123449880efe317ee3e0a6389e (patch)
treec26c3bde356a014adea79d3a4ed80811a6cb92d4 /src
parent47dcbdf133a64871637b33bcfd576bca3c3a4f58 (diff)
downloadscintilla-mirror-54a6d77eb92452123449880efe317ee3e0a6389e.tar.gz
Bug fix for #761642 SCI_MARKERDELETEALL doesn't delete all
Diffstat (limited to 'src')
-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);
}
}