Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
A-G-D authored Apr 21, 2019
1 parent cc9517e commit 7323feb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Binary file modified Cryptext.exe
Binary file not shown.
6 changes: 3 additions & 3 deletions Source/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,12 @@ bool GetTextFiles(Collections::IList ^%list)
if (Directory::Exists(directoryPath))
{
int rootLength(directoryPath->Length);
array<String^> ^%dirs(Directory::GetDirectories(directoryPath));
array<String^> ^dirs(Directory::GetDirectories(directoryPath));
for (int i = 0; i < dirs->Length; ++i)
{
String ^foldername(dirs[i]->Substring(rootLength + 1));

array<String^> ^%files(Directory::GetFiles(dirs[i]));
array<String^> ^files(Directory::GetFiles(dirs[i]));
for (int j = 0; j < files->Length; ++j)
{
String ^fileName(Path::GetFileNameWithoutExtension(files[j]));
Expand All @@ -133,7 +133,7 @@ bool GetTranslations(Collections::IList ^%list)
if (Directory::Exists(directoryPath))
{
int dirLength(directoryPath->Length);
array<String^> ^%files = Directory::GetFiles(directoryPath);
array<String^> ^files(Directory::GetFiles(directoryPath));
for (int i = 0; i < files->Length; ++i)
if (files[i]->EndsWith(TRANSLATION_FILE_EXTENSION))
list->Add(Path::GetFileNameWithoutExtension(files[i]));
Expand Down

0 comments on commit 7323feb

Please sign in to comment.