mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
Merge pull request #651 from tfussell/fix-range-iterator-decrement
Fix bug in decrement method of range_iterator for column-major order
This commit is contained in:
commit
5620e5be7a
|
@ -91,7 +91,7 @@ range_iterator &range_iterator::operator--()
|
||||||
|
|
||||||
if (skip_null_)
|
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);
|
cursor_.column_index(cursor_.column_index() - 1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user