1KB == 1024 B !!!
Brought to you by:
coder_1024
in function:
void CRecmp3Dlg::FormatFileSize(DWORD fsize, char *
buf)
in file: recmp3Dlg.cpp
there is a very nasty mistake: to get the number of KB
the number of bytes (B) is divided by 1000, while 1KB
== 1024 B. The same thing with MB: 1MB==1024KB
and so on...
(check in wikipedia if you're not shure)
Solution:
change ne numbers in the funcion:
1000000 to 1048576
1000000.0 to 1048576.0
1000 to 1024
1000.0 to 1024.0