#2350 Elm props: Fix crash when table has only one data column

This commit is contained in:
Rebecca Cox committed 2018-01-10 10:33:33 +01:00
1 parent e22ceb5cc2
commit 0dc0533501
1 file changed
+1 -1
@@ -124,7 +124,7 @@ void RifElementPropertyTableReader::readData(const RifElementPropertyMetadata *m
if (!dataBlockFound)
{
if (!line.startsWith("*") && cols.size() == expectedColumnCount) dataBlockFound = true;
if (!line.startsWith("*") && !line.startsWith(",") && cols.size() == expectedColumnCount) dataBlockFound = true;
else continue;
}