diff --git a/InfoPlistPreprocessor.h b/InfoPlistPreprocessor.h index 1143875..b60c8b4 100644 --- a/InfoPlistPreprocessor.h +++ b/InfoPlistPreprocessor.h @@ -9,7 +9,7 @@ #ifndef InfoPlistPreprocessor_h #define InfoPlistPreprocessor_h -#define MM_VERSION 2.1.2.1 +#define MM_VERSION 2.1.2.2 #define MM_COPYRIGHT MenuMeters MM_VERSION, by many contributors #endif /* InfoPlistPreprocessor_h */ diff --git a/MenuExtras/MenuMeterCPU/MenuMeterCPUExtra.m b/MenuExtras/MenuMeterCPU/MenuMeterCPUExtra.m index fc12c4f..3cfe4e5 100644 --- a/MenuExtras/MenuMeterCPU/MenuMeterCPUExtra.m +++ b/MenuExtras/MenuMeterCPU/MenuMeterCPUExtra.m @@ -514,7 +514,11 @@ - (void)renderSingleTemperatureIntoImage:(NSImage *)image atOffset:(float)offset } break; case kCPUTemperatureUnitFahrenheit: - temperatureString=[NSString stringWithFormat:@"%.1f℉", fahrenheit]; + if(fahrenheit>=100){ + temperatureString=[NSString stringWithFormat:@"%d℉", (int)fahrenheit]; + }else{ + temperatureString=[NSString stringWithFormat:@"%.1f℉", fahrenheit]; + } if(celsius<-100){ temperatureString=@"??℉"; } diff --git a/releases.html b/releases.html index 4d6af0b..ff3cd04 100644 --- a/releases.html +++ b/releases.html @@ -17,6 +17,10 @@
+
2.1.2.2 (Dec/15/2020)
+
+ Fixes a bug in 2.1.2 where the CPU temperature in ℉ didn't show the top digit if it was above 100℉. +
2.1.2.1 (Dec/12/2020)
Fixes a bug in 2.1.2 which prevented the net meter to load in some cases.