summary refs log tree commit diff stats
path: root/src/htm/Main.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/htm/Main.cs')
-rw-r--r--src/htm/Main.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/htm/Main.cs b/src/htm/Main.cs
index cc33e206..8873d886 100644
--- a/src/htm/Main.cs
+++ b/src/htm/Main.cs
@@ -1,4 +1,5 @@
-/* HexChat Theme Manager

+/**

+ * HexChat Theme Manager

  *

  * Copyright (C) 2012 Patrick Griffs

  * Copyright (C) 2012 Berke Viktor

@@ -281,7 +282,7 @@ namespace thememan
 

             try

             {

-                using (Package zip = Package.Open(zipFile.FullName, FileMode.Open))

+                using (Package zip = Package.Open(zipFile.FullName, FileMode.Open, FileAccess.Read))

                 {

                     PackagePartCollection parts = zip.GetParts();