[MPlayer-cvslog] r22213 - trunk/TOOLS/cpuinfo.c

diego subversion at mplayerhq.hu
Tue Feb 13 01:47:10 CET 2007


Author: diego
Date: Tue Feb 13 01:47:09 2007
New Revision: 22213

Modified:
   trunk/TOOLS/cpuinfo.c

Log:
Strip leading spaces from processor names.
patch by Sergey, sergemp mail ru


Modified: trunk/TOOLS/cpuinfo.c
==============================================================================
--- trunk/TOOLS/cpuinfo.c	(original)
+++ trunk/TOOLS/cpuinfo.c	Tue Feb 13 01:47:09 2007
@@ -144,6 +144,9 @@
       }
       processor_name[48] = 0;
       model_name = processor_name;
+      while (*model_name == ' ') {
+        model_name++;
+      }
     }
   } else {
     amd_flags = 0;



More information about the MPlayer-cvslog mailing list