Fixed: IOS crash on startup when phrase language file is missing.
--HG-- branch : develop
This commit is contained in:
parent
3da8dcbdac
commit
7d688f1a64
1 changed files with 8 additions and 0 deletions
|
@ -242,9 +242,17 @@ public:
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// no _wk file or empty
|
||||||
if (addition.size() == 0)
|
if (addition.size() == 0)
|
||||||
return;
|
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
|
// create missing columns in reference and addition to make the diff
|
||||||
for (uint i=0; i<reference.ColCount || i < addition.ColCount; ++i)
|
for (uint i=0; i<reference.ColCount || i < addition.ColCount; ++i)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue