mirror of https://github.com/aristocratos/btop.git
Merge pull request #836 from vsey/Fix-Typo
This commit is contained in:
commit
8c1a8ab4fa
|
@ -725,7 +725,7 @@ namespace Cpu {
|
||||||
if (fs::exists(bat_dir / "power_now")) {
|
if (fs::exists(bat_dir / "power_now")) {
|
||||||
new_bat.power_now = bat_dir / "power_now";
|
new_bat.power_now = bat_dir / "power_now";
|
||||||
}
|
}
|
||||||
else if ((fs::exists(bat_dir / "current_now")) and (fs::exists(bat_dir / "current_now"))) {
|
else if ((fs::exists(bat_dir / "current_now")) and (fs::exists(bat_dir / "voltage_now"))) {
|
||||||
new_bat.current_now = bat_dir / "current_now";
|
new_bat.current_now = bat_dir / "current_now";
|
||||||
new_bat.voltage_now = bat_dir / "voltage_now";
|
new_bat.voltage_now = bat_dir / "voltage_now";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue