mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user