Change struct of cover file

This commit is contained in:
Flamefire committed 2014-10-24 13:52:18 +02:00
1 parent 6001f2f47d
commit 31a9ac6afa
5 files changed
+49 -23

No files matched your search

+2 -2
View File
@@ -42,10 +42,10 @@ namespace VocaluxeLib.Xml
bool ok = true;
string val;
bool defOk = GetAttribute(xPath, "Default", out val) && int.TryParse(val, out el.Default);
ok &= TryGetIntValue(xPath + "/Left", ref el.Left, el.Default);
/*ok &= TryGetIntValue(xPath + "/Left", ref el.Left, el.Default);
ok &= TryGetIntValue(xPath + "/Right", ref el.Right, el.Default);
ok &= TryGetIntValue(xPath + "/Top", ref el.Top, el.Default);
ok &= TryGetIntValue(xPath + "/Bottom", ref el.Bottom, el.Default);
ok &= TryGetIntValue(xPath + "/Bottom", ref el.Bottom, el.Default);*/
return ok || defOk;
}