don't return 0 from CLZMA::Comrpess when finished, return 1

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4857 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2007-01-22 20:01:24 +00:00
parent c06d106133
commit ec931af459
2 changed files with 3 additions and 1 deletions

View file

@ -263,7 +263,7 @@ int CLZMA::CompressReal()
break; break;
if (finished) if (finished)
{ {
res = C_OK; res = C_FINISHED;
break; break;
} }
} }

View file

@ -18,6 +18,8 @@
#define __COMPRESSOR_H__ #define __COMPRESSOR_H__
#define C_OK 0 #define C_OK 0
#define C_FINISHED 1
#define C_FINISH true #define C_FINISH true
class ICompressor { class ICompressor {