aboutsummaryrefslogtreecommitdiff
path: root/archivers/ccmix/files/patch-src_mix__file.cpp
blob: f89a575528465d9c2c146f7231c60678024b2a2a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- src/mix_file.cpp.orig	2017-06-12 14:07:35 UTC
+++ src/mix_file.cpp
@@ -75,7 +75,7 @@ bool MixFile::open(const string path)
     if (fh.is_open())
         close();
     
-    fh.open(path.c_str(), fstream::in | fstream::out | fstream::binary);
+    fh.open(path.c_str(), fstream::in | fstream::binary);
     if (!fh.is_open()) {
         cout << "File " << path << " failed to open" << endl;
         return false;