summaryrefslogtreecommitdiffstats
path: root/cpudetect.c
diff options
context:
space:
mode:
authorgpoirier <gpoirier@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-06-25 17:37:58 +0000
committergpoirier <gpoirier@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-06-25 17:37:58 +0000
commit91ca617cfd6c0885d3c41bad734fa20750e5634d (patch)
treedb5bedda1a00ba205c7c8897e70d9f95ae5babe5 /cpudetect.c
parent1f9d6c48971016633a8dc5cdab1de46c6424d3a9 (diff)
downloadmpv-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.c4
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);