1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 17:17:31 +00:00

fix group ratio, thanks to charles

This commit is contained in:
Mitchell Livingston 2008-03-04 03:27:25 +00:00
parent 052d849b59
commit 4dd36a8331

View file

@ -42,7 +42,9 @@
#import "ExpandedPathToPathTransformer.h"
#import "ExpandedPathToIconTransformer.h"
#import "SpeedLimitToTurtleIconTransformer.h"
//#include "utils.h" //tr_getRatio()
#define SYS_DARWIN
#include "utils.h" //tr_getRatio()
#import <Sparkle/Sparkle.h>
@ -2515,7 +2517,7 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
}
#warning fix
return [NSString stringForRatio: /*tr_getRatio(uploaded, downloaded)*/0];
return [NSString stringForRatio: tr_getRatio(uploaded, downloaded)];
}
else
{