Skip to content

Commit

Permalink
fix-bug: set absolute flags correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
amiremohamadi committed Mar 20, 2020
1 parent 33a56b3 commit 3af9567
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/cell/cell_reference.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -174,13 +174,13 @@ std::pair<std::string, row_t> cell_reference::split_reference(

if (column_string[0] == '$')
{
absolute_row = true;
absolute_column = true;
column_string = column_string.substr(1);
}

if (row_string[0] == '$')
{
absolute_column = true;
absolute_row = true;
row_string = row_string.substr(1);
}

Expand Down

0 comments on commit 3af9567

Please # to comment.