We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e0b575 commit 8b3cb9fCopy full SHA for 8b3cb9f
src/Resources/CPU.vala
@@ -215,15 +215,15 @@ public class Monitor.CPU : Object {
215
while ((flag_data = dis.read_line ()) != null) {
216
217
int comma_position = flag_data.index_of_char (',');
218
-
+
219
if (comma_position == -1) break; // quick exit if no commas are in the line
220
221
string key = flag_data.substring (0, comma_position);
222
string value = flag_data.substring (comma_position + 1)
223
.replace ("\"", "")
224
.replace (" ", " ")
225
.strip ();
226
227
all_flags.set (key, value.replace ("\r", ""));
228
}
229
debug ("Parsed file %s", csv_file.get_path ());
0 commit comments