mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 12:28:52 +00:00
fix group ratio, thanks to charles
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user