diff options
author | gpoirier <gpoirier@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-06-25 17:37:58 +0000 |
---|---|---|
committer | gpoirier <gpoirier@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-06-25 17:37:58 +0000 |
commit | 91ca617cfd6c0885d3c41bad734fa20750e5634d (patch) | |
tree | db5bedda1a00ba205c7c8897e70d9f95ae5babe5 /cpudetect.c | |
parent | 1f9d6c48971016633a8dc5cdab1de46c6424d3a9 (diff) | |
download | mpv-91ca617cfd6c0885d3c41bad734fa20750e5634d.tar.bz2 mpv-91ca617cfd6c0885d3c41bad734fa20750e5634d.tar.xz |
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
Diffstat (limited to 'cpudetect.c')
-rw-r--r-- | cpudetect.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpudetect.c b/cpudetect.c index 32d968e579..a725035bbb 100644 --- a/cpudetect.c +++ b/cpudetect.c @@ -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); |