File tree 3 files changed +10
-2
lines changed
3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 9
9
#ifndef InfoPlistPreprocessor_h
10
10
#define InfoPlistPreprocessor_h
11
11
12
- #define MM_VERSION 2.1.2.1
12
+ #define MM_VERSION 2.1.2.2
13
13
#define MM_COPYRIGHT MenuMeters MM_VERSION, by many contributors
14
14
15
15
#endif /* InfoPlistPreprocessor_h */
Original file line number Diff line number Diff line change @@ -514,7 +514,11 @@ - (void)renderSingleTemperatureIntoImage:(NSImage *)image atOffset:(float)offset
514
514
}
515
515
break ;
516
516
case kCPUTemperatureUnitFahrenheit :
517
- temperatureString=[NSString stringWithFormat: @" %.1f ℉" , fahrenheit];
517
+ if (fahrenheit>=100 ){
518
+ temperatureString=[NSString stringWithFormat: @" %d ℉" , (int )fahrenheit];
519
+ }else {
520
+ temperatureString=[NSString stringWithFormat: @" %.1f ℉" , fahrenheit];
521
+ }
518
522
if (celsius<-100 ){
519
523
temperatureString=@" ??℉" ;
520
524
}
Original file line number Diff line number Diff line change 17
17
</ head >
18
18
< body >
19
19
< dl >
20
+ < dt > 2.1.2.2 (Dec/15/2020)</ dt >
21
+ < dd >
22
+ Fixes a bug in 2.1.2 where the CPU temperature in ℉ didn't show the top digit if it was above 100℉.
23
+ </ dd >
20
24
< dt > 2.1.2.1 (Dec/12/2020)</ dt >
21
25
< dd >
22
26
Fixes a bug in 2.1.2 which prevented the net meter to load in some cases.
You can’t perform that action at this time.
0 commit comments