mirror of
https://github.com/transmission/transmission
synced 2024-12-26 09:37:56 +00:00
fix group ratio, thanks to charles
This commit is contained in:
parent
052d849b59
commit
4dd36a8331
1 changed files with 4 additions and 2 deletions
|
@ -42,7 +42,9 @@
|
||||||
#import "ExpandedPathToPathTransformer.h"
|
#import "ExpandedPathToPathTransformer.h"
|
||||||
#import "ExpandedPathToIconTransformer.h"
|
#import "ExpandedPathToIconTransformer.h"
|
||||||
#import "SpeedLimitToTurtleIconTransformer.h"
|
#import "SpeedLimitToTurtleIconTransformer.h"
|
||||||
//#include "utils.h" //tr_getRatio()
|
|
||||||
|
#define SYS_DARWIN
|
||||||
|
#include "utils.h" //tr_getRatio()
|
||||||
|
|
||||||
#import <Sparkle/Sparkle.h>
|
#import <Sparkle/Sparkle.h>
|
||||||
|
|
||||||
|
@ -2515,7 +2517,7 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
|
||||||
}
|
}
|
||||||
|
|
||||||
#warning fix
|
#warning fix
|
||||||
return [NSString stringForRatio: /*tr_getRatio(uploaded, downloaded)*/0];
|
return [NSString stringForRatio: tr_getRatio(uploaded, downloaded)];
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue