diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-02-13 00:47:09 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-02-13 00:47:09 +0000 |
commit | 84f2ef32d09da369c4386388ed5d6a18a5b409fb (patch) | |
tree | 60011566a346bcf7ab738c0f3eb19d31ca354e6f /TOOLS | |
parent | af0412def4c003bfd371440757f72ac9bb5134f2 (diff) | |
download | mpv-84f2ef32d09da369c4386388ed5d6a18a5b409fb.tar.bz2 mpv-84f2ef32d09da369c4386388ed5d6a18a5b409fb.tar.xz |
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
Diffstat (limited to 'TOOLS')
-rw-r--r-- | TOOLS/cpuinfo.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/TOOLS/cpuinfo.c b/TOOLS/cpuinfo.c index 31864e5d4b..aeba895ad4 100644 --- a/TOOLS/cpuinfo.c +++ b/TOOLS/cpuinfo.c @@ -144,6 +144,9 @@ main(int argc, char **argv) } processor_name[48] = 0; model_name = processor_name; + while (*model_name == ' ') { + model_name++; + } } } else { amd_flags = 0; |