mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-13 04:34:35 +03:00
Unify naming of first argument of Platform_getBattery
Use percent throughout
This commit is contained in:
@ -176,7 +176,7 @@ bool Platform_getNetworkIO(unsigned long int* bytesReceived,
|
||||
return false;
|
||||
}
|
||||
|
||||
void Platform_getBattery(double* level, ACPresence* isOnAC) {
|
||||
*level = NAN;
|
||||
void Platform_getBattery(double* percent, ACPresence* isOnAC) {
|
||||
*percent = NAN;
|
||||
*isOnAC = AC_ERROR;
|
||||
}
|
||||
|
Reference in New Issue
Block a user