cmd_type: Fix misuse of ConOutPrintf which caused problems when the file had any '%' characters in it.

svn path=/trunk/; revision=35679
This commit is contained in:
Jeffrey Morlan
2008-08-26 19:07:23 +00:00
parent eae188745b
commit 75122e2228
+2 -2
View File
@@ -106,7 +106,7 @@ INT cmd_type (LPTSTR param)
{
if(bRet)
{
if (ConOutPrintfPaging(bFirstTime, buff) == 1)
if (ConOutPrintfPaging(bFirstTime, _T("%s"), buff) == 1)
{
bCtrlBreak = FALSE;
return 0;
@@ -116,7 +116,7 @@ INT cmd_type (LPTSTR param)
else
{
if(bRet)
ConOutPrintf(buff);
ConOutPrintf(_T("%s"), buff);
}
bFirstTime = FALSE;