diff options
-rw-r--r-- | src/RunStyles.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/RunStyles.cxx b/src/RunStyles.cxx index c3414b4e8..93688b3f9 100644 --- a/src/RunStyles.cxx +++ b/src/RunStyles.cxx @@ -147,6 +147,8 @@ bool RunStyles::FillRange(int &position, int value, int &fillLength) { runEnd = RunFromPosition(end); RemoveRunIfSameAsPrevious(runEnd); RemoveRunIfSameAsPrevious(runStart); + runEnd = RunFromPosition(end); + RemoveRunIfEmpty(runEnd); return true; } else { return false; |