From f63bc9525fca0390bdbd31e03c9343a9eae8d49c Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sat, 26 Jul 2003 11:21:20 +0000 Subject: Bug fix for #761642 SCI_MARKERDELETEALL doesn't delete all --- src/CellBuffer.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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); } } -- cgit v1.2.3