Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Models / CellFormula.cpp
diff options
context:
space:
mode:
1 files changed, 1 insertions, 1 deletions
-rw-r--r--src/Models/CellFormula.cpp2
diff --git a/src/Models/CellFormula.cpp b/src/Models/CellFormula.cpp
index db73866..d5aea00 100644
--- a/src/Models/CellFormula.cpp
+++ b/src/Models/CellFormula.cpp
@@ -103,7 +103,7 @@ void CellFormula::parseAndSetValue(const char* str) {
List<char> buffer;
W(str);
if (*str == 'R') {
- D(str, buffer);
+ D(++str, buffer);
loc.left = atoi(buffer.raw_data());
if (*str != 'C') throw std::logic_error("Error: Invalid character!");
str++;