diff Core/Compression/ZipWriter.cpp @ 249:5694365ecb96

fixes for windows
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 05 Dec 2012 09:28:06 +0100
parents fe180eae201d
children bdd72233b105
line wrap: on
line diff
--- a/Core/Compression/ZipWriter.cpp	Tue Dec 04 17:49:37 2012 +0100
+++ b/Core/Compression/ZipWriter.cpp	Wed Dec 05 09:28:06 2012 +0100
@@ -136,7 +136,7 @@
     compressionLevel_ = level;
   }
 
-  void ZipWriter::CreateFileInZip(const char* path)
+  void ZipWriter::OpenFile(const char* path)
   {
     Open();
 
@@ -171,7 +171,7 @@
   {
     if (!hasFileInZip_)
     {
-      throw OrthancException("Call first CreateFileInZip()");
+      throw OrthancException("Call first OpenFile()");
     }
 
     const size_t maxBytesInAStep = std::numeric_limits<int32_t>::max();