mirror of https://github.com/tfussell/xlnt
Merge pull request #651 from tfussell/fix-range-iterator-decrement
Fix bug in decrement method of range_iterator for column-major orderpull/652/head
commit
5620e5be7a
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue