Fixed: IOS crash on startup when phrase language file is missing.

--HG--
branch : develop
This commit is contained in:
Nimetu 2019-07-12 14:07:02 +03:00
parent 3da8dcbdac
commit 7d688f1a64

View file

@ -242,9 +242,17 @@ public:
return;
}
// no _wk file or empty
if (addition.size() == 0)
return;
// no _lang file or empty
if (reference.size() == 0)
{
text = prepareExcelSheet(addition);
return;
}
// create missing columns in reference and addition to make the diff
for (uint i=0; i<reference.ColCount || i < addition.ColCount; ++i)
{