Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Models / CellString.cpp
diff options
context:
space:
mode:
1 files changed, 2 insertions, 1 deletions
-rw-r--r--src/Models/CellString.cpp3
diff --git a/src/Models/CellString.cpp b/src/Models/CellString.cpp
index 9c010c3..f323a7c 100644
--- a/src/Models/CellString.cpp
+++ b/src/Models/CellString.cpp
@@ -18,5 +18,6 @@ void CellString::parseAndSetValue(const char* str) {
}
void CellString::writeToFile(std::ofstream& file) {
- file << '"' << value << '"';
+ file << '"';
+ const char* strCpy = value.get_cstr();
}