From 156af7e74c42d12ce96131cba33c0d8202abe970 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Martinez?= Date: Tue, 4 Jul 2017 15:35:23 +0200 Subject: [PATCH] Correct handle of load from CSV with quotes, fixes --- Source/ZenLib/ZtringListList.cpp | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/Source/ZenLib/ZtringListList.cpp b/Source/ZenLib/ZtringListList.cpp index 2d80cf6b..17ddf2e2 100644 --- a/Source/ZenLib/ZtringListList.cpp +++ b/Source/ZenLib/ZtringListList.cpp @@ -298,7 +298,7 @@ void ZtringListList::Write(const Ztring &ToWrite) while (i=size()) + { + size_t PreviousSize=size(); resize(y+1); + for (size_t j=0; j<=y; j++) + operator[](j).Separator_Set(0, Separator[1]); + } ZtringList& Line=operator[](y); if (x>=Line.size()) Line.resize(x+1);