[MPlayer-dev-eng] [PATCH] Typo fix in cpudetect.c

Zuxy Meng zuxy.meng at gmail.com
Sat Jun 24 14:55:02 CEST 2006


Fix a typo in the previous patch, should use ptmpstr to strip leading spaces.

-- 
Zuxy
Beauty is truth,
While truth is beauty.
PGP KeyID: E8555ED6
-------------- next part --------------
--- mplayer/cpudetect.c	2006-06-07 13:00:35.000000000 +0800
+++ mplayer.new/cpudetect.c	2006-06-24 20:52:53.000000000 +0800
@@ -149,7 +149,7 @@
 		ptmpstr=tmpstr=GetCpuFriendlyName(regs, regs2);
 		while(*ptmpstr == ' ')
 		    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);


More information about the MPlayer-dev-eng mailing list