summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-01-13 19:20:49 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-01-13 19:20:49 +0000
commita8d3779c31ea242d9e90029e22ac33138dd1475b (patch)
tree682fb21a791f9c9285464e44d791ddfb929b6a16 /tools
parent3c26ab9c6b3142d81b2959ef2e368be6d8475a56 (diff)
closing files when generation stopped
git-svn-id: http://svn.miranda-ng.org/main/trunk@3101 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'tools')
-rw-r--r--tools/Langpack Suite/Form1.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/Langpack Suite/Form1.cs b/tools/Langpack Suite/Form1.cs
index dd2272aebd..a70fb0608b 100644
--- a/tools/Langpack Suite/Form1.cs
+++ b/tools/Langpack Suite/Form1.cs
@@ -343,6 +343,8 @@ namespace Langpack_Suite
InfMessageLangBox.Text = InfMessageLangBox.Text + LocaleText + "\r\n";
LocaleText = rm.GetString("GenStop", culture);
InfMessageLangBox.Text = InfMessageLangBox.Text + LocaleText;
+ LangPack.Close();
+ ReadFile.Close();
return;
}
@@ -558,6 +560,7 @@ namespace Langpack_Suite
InfMessageLangBox.Text = InfMessageLangBox.Text + LocaleText + "\r\n";
LocaleText = rm.GetString("GenStop", culture);
InfMessageLangBox.Text = InfMessageLangBox.Text + LocaleText;
+ LangPack.Close();
return;
}