Undo previous commit

このコミットが含まれているのは:
sam-barr 2020-04-27 00:14:51 -05:00 committed by GitHub
コミット e1e2f6d884
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: 4AEE18F83AFDEB23
1個のファイルの変更2行の追加2行の削除

ファイルの表示

@ -377,7 +377,7 @@ char *get_cpu() {
char *cpu = malloc(BUF_SIZE);
snprintf(cpu, BUF_SIZE, "%s (%d) @ %.*fGHz", cpu_model, num_cores, prec, freq);
free(cpu_model);
while(*cpu == ' ') cpu++;
truncate_spaces(cpu);
return cpu;
}
@ -420,7 +420,7 @@ char *find_gpu(int index) {
for (int i = 0; i < COUNT(gpu_remove); ++i) {
remove_substring(gpu, gpu_remove[i].substring, gpu_remove[i].length);
}
while(*gpu == ' ') gpu++;
truncate_spaces(gpu);
return gpu;