mirror of
https://github.com/aristocratos/btop.git
synced 2024-06-11 06:55:12 +12:00
Fix typo
This commit is contained in:
parent
924c3f3a72
commit
14b388521d
|
@ -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 a new issue