Update Utils.cs

pull/36/head
CGQAQ 2019-08-25 10:07:51 +08:00
parent 56bb63a012
commit f036f12925
1 changed files with 1 additions and 1 deletions

View File

@ -273,7 +273,7 @@ namespace v2rayN
{ {
var factor = 1024u; var factor = 1024u;
var KBs = amount / factor; var KBs = amount / factor;
if(amount / factor > 0) if(KBs > 0)
{ {
// multi KB // multi KB
var MBs = KBs / factor; var MBs = KBs / factor;