mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-13 13:02:28 +00:00
Spreadsheet: Fix calling variable that wasn't defined
This commit is contained in:
parent
d05fa14e52
commit
678d26dd19
Notes:
sideshowbarker
2024-07-17 18:24:48 +09:00
Author: https://github.com/u9g
Commit: 678d26dd19
Pull-request: https://github.com/SerenityOS/serenity/pull/12713
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