mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-29 00:03:58 +01:00
refactor: simplify parsing
This commit is contained in:
@@ -41,7 +41,7 @@ const char* ffGetCpuUsageInfo(FFlist* cpuTimes)
|
||||
};
|
||||
}
|
||||
else
|
||||
break; // because we read the whole /proc/stat, we can safely quit when the line does not start with "cpuN"
|
||||
break;
|
||||
start = token + 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user