mirror of
https://github.com/mpv-player/mpv
synced 2024-07-27 17:48:22 +02:00
Strip leading spaces from processor names.
patch by Sergey, sergemp mail ru git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22213 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
af0412def4
commit
84f2ef32d0
@ -144,6 +144,9 @@ main(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
processor_name[48] = 0;
|
processor_name[48] = 0;
|
||||||
model_name = processor_name;
|
model_name = processor_name;
|
||||||
|
while (*model_name == ' ') {
|
||||||
|
model_name++;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
amd_flags = 0;
|
amd_flags = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user