Author: jmorlan
Date: Tue Aug 26 14:07:23 2008
New Revision: 35679
URL:
http://svn.reactos.org/svn/reactos?rev=35679&view=rev
Log:
cmd_type: Fix misuse of ConOutPrintf which caused problems when the file had any
'%' characters in it.
Modified:
trunk/reactos/base/shell/cmd/type.c
Modified: trunk/reactos/base/shell/cmd/type.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/cmd/type.c?rev=…
==============================================================================
--- trunk/reactos/base/shell/cmd/type.c [iso-8859-1] (original)
+++ trunk/reactos/base/shell/cmd/type.c [iso-8859-1] Tue Aug 26 14:07:23 2008
@@ -106,7 +106,7 @@
{
if(bRet)
{
- if (ConOutPrintfPaging(bFirstTime, buff) == 1)
+ if (ConOutPrintfPaging(bFirstTime, _T("%s"), buff) == 1)
{
bCtrlBreak = FALSE;
return 0;
@@ -116,7 +116,7 @@
else
{
if(bRet)
- ConOutPrintf(buff);
+ ConOutPrintf(_T("%s"), buff);
}
bFirstTime = FALSE;