From d45e831f47b6ddd2d06b36f1b0c2110095c563d9 Mon Sep 17 00:00:00 2001 From: Thomas Fussell Date: Sun, 21 Aug 2022 11:18:20 -0500 Subject: [PATCH] fix copy-and-paste bug --- source/worksheet/range_iterator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/worksheet/range_iterator.cpp b/source/worksheet/range_iterator.cpp index 9a7ca9c13..0b0d65860 100644 --- a/source/worksheet/range_iterator.cpp +++ b/source/worksheet/range_iterator.cpp @@ -91,7 +91,7 @@ range_iterator &range_iterator::operator--() if (skip_null_) { - while ((**this).empty() && cursor_.row() > bounds_.top_left().column()) + while ((**this).empty() && cursor_.column() > bounds_.top_left().column()) { cursor_.column_index(cursor_.column_index() - 1); }