mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:17:44 +00:00
Spreadsheet: Fix calling variable that wasn't defined
This commit is contained in:
parent
d05fa14e52
commit
678d26dd19
1 changed files with 1 additions and 1 deletions
|
@ -250,7 +250,7 @@ function R(fmt, ...args) {
|
|||
// ColRow:Col(Row)?(:ColStep:RowStep)?
|
||||
const start = thisSheet.parse_cell_name(parts[0]);
|
||||
let end = parts[1];
|
||||
if (/^[a-zA-Z_]+$/.test(endPart)) end = { column: end, row: undefined };
|
||||
if (/^[a-zA-Z_]+$/.test(end)) end = { column: end, row: undefined };
|
||||
else end = thisSheet.parse_cell_name(parts[1]);
|
||||
parts[2] ??= 1;
|
||||
parts[3] ??= 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue