1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-12 02:28:11 +02:00

Poprawiony defSorter - sprawdź czy teraz łapie wszystko.

This commit is contained in:
Michał W. Urbańczyk 2007-06-24 12:40:50 +00:00
parent 82547d6829
commit 21112b0023
2 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@ -20,7 +20,7 @@ namespace DefSorter
string[] pliczki = Directory.GetFiles(Directory.GetCurrentDirectory());
foreach (string ss in pliczki)
{
if (!(ss.EndsWith(".DEF")))
if ((!(ss.EndsWith(".DEF")))&&(!(ss.EndsWith(".def"))))
continue;
else ile++;
}
@ -40,7 +40,7 @@ namespace DefSorter
progressBar1.Maximum = Convert.ToInt32(label2.Text);
foreach (string ss in pliczki)
{
if (!(ss.EndsWith(".DEF")))
if ((!(ss.EndsWith(".DEF"))) && (!(ss.EndsWith(".def"))))
continue;
FileStream czytacz = File.OpenRead(ss);
int coTo = czytacz.ReadByte();