aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CellBuffer.cxx
diff options
context:
space:
mode:
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);
}
}