diff --git a/Source/clzma.cpp b/Source/clzma.cpp index 118fcec5..27140551 100644 --- a/Source/clzma.cpp +++ b/Source/clzma.cpp @@ -263,7 +263,7 @@ int CLZMA::CompressReal() break; if (finished) { - res = C_OK; + res = C_FINISHED; break; } } diff --git a/Source/compressor.h b/Source/compressor.h index abc1d6af..49524a00 100644 --- a/Source/compressor.h +++ b/Source/compressor.h @@ -18,6 +18,8 @@ #define __COMPRESSOR_H__ #define C_OK 0 +#define C_FINISHED 1 + #define C_FINISH true class ICompressor {