From 84f2ef32d09da369c4386388ed5d6a18a5b409fb Mon Sep 17 00:00:00 2001 From: diego Date: Tue, 13 Feb 2007 00:47:09 +0000 Subject: 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 --- TOOLS/cpuinfo.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'TOOLS') 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; -- cgit v1.2.3