mirror of
https://github.com/kwsch/NLSE.git
synced 2026-04-24 23:47:23 -05:00
parent
75d046f1fb
commit
df7081efc3
|
|
@ -1294,7 +1294,7 @@ private void B_ImportAcres_Click(object sender, EventArgs e)
|
|||
return;
|
||||
|
||||
byte[] data = File.ReadAllBytes(ofd.FileName);
|
||||
if (data.Length != 2*6*7 || data.Length != 2*4*4)
|
||||
if (data.Length != 2*6*7 && data.Length != 2*4*4)
|
||||
{
|
||||
Util.Error("Input file length is not a valid acre map.",
|
||||
String.Format("Data Size: {1}{0}Acre Count: {2}", Environment.NewLine, data.Length, data.Length/2));
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user