Increased precision of get_ratio() and swapped parameters.

committer: mfx <mfx> 977342070 +0000
This commit is contained in:
Markus F.X.J. Oberhumer
2000-12-20 19:54:30 +00:00
parent a42e72094a
commit 7d652fa42b
3 changed files with 27 additions and 30 deletions
+1 -2
View File
@@ -48,8 +48,7 @@ bool maketempname(char *ofilename, const char *ifilename,
bool makebakname(char *ofilename, const char *ifilename, bool force=true);
bool isafile(int fd);
unsigned get_ratio(unsigned long packedsize, unsigned long size,
unsigned long scale=100);
unsigned get_ratio(unsigned u_len, unsigned c_len);
char *center_string(const char *name, size_t s);