1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-01 11:50:48 +00:00

Typo: use ptmpstr instead of tmpstr to strip leading spaces + add

comment
Patch by Zuxy Meng ##zuxy P meng AH gmail P com##
--Cette ligne, et les 
suivantes ci-dessous, seront ignorées--

M    cpudetect.c


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18820 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
gpoirier 2006-06-25 17:37:58 +00:00
parent 1f9d6c4897
commit 91ca617cfd

View File

@ -147,9 +147,9 @@ void GetCpuCaps( CpuCaps *caps)
if(cl_size) caps->cl_size = cl_size;
ptmpstr=tmpstr=GetCpuFriendlyName(regs, regs2);
while(*ptmpstr == ' ')
while(*ptmpstr == ' ') // strip leading spaces
ptmpstr++;
mp_msg(MSGT_CPUDETECT,MSGL_INFO,"CPU: %s ",tmpstr);
mp_msg(MSGT_CPUDETECT,MSGL_INFO,"CPU: %s ", ptmpstr);
free(tmpstr);
mp_msg(MSGT_CPUDETECT,MSGL_INFO,"(Family: %d, Model: %d, Stepping: %d)\n",
caps->cpuType, caps->cpuModel, caps->cpuStepping);