summaryrefslogtreecommitdiffstats
path: root/TOOLS
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-02-13 00:47:09 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-02-13 00:47:09 +0000
commit84f2ef32d09da369c4386388ed5d6a18a5b409fb (patch)
tree60011566a346bcf7ab738c0f3eb19d31ca354e6f /TOOLS
parentaf0412def4c003bfd371440757f72ac9bb5134f2 (diff)
downloadmpv-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.c3
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;