diff --git a/macosx/Controller.m b/macosx/Controller.m index d64d3caf7..2dadad8f1 100644 --- a/macosx/Controller.m +++ b/macosx/Controller.m @@ -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 @@ -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 {