mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-14 22:11:38 -06:00
4.27 beta
This commit is contained in:
committed by
Kornel Lesiński
parent
31e7b924e8
commit
d66cf2fcf3
17
7zip/Compress/Rar29/Original/smallfn.cpp
Executable file
17
7zip/Compress/Rar29/Original/smallfn.cpp
Executable file
@@ -0,0 +1,17 @@
|
||||
#include "rar.hpp"
|
||||
|
||||
int ToPercent(Int64 N1,Int64 N2)
|
||||
{
|
||||
if (N2==0)
|
||||
return(0);
|
||||
if (N2<N1)
|
||||
return(100);
|
||||
return(int64to32(N1*100/N2));
|
||||
}
|
||||
|
||||
|
||||
void RARInitData()
|
||||
{
|
||||
InitCRC();
|
||||
ErrHandler.Clean();
|
||||
}
|
||||
Reference in New Issue
Block a user