[ros-diffs] [jmorlan] 35679: cmd_type: Fix misuse of ConOutPrintf which caused problems when the file had any '%' characters in it.
jmorlan at svn.reactos.org
jmorlan at svn.reactos.org
Tue Aug 26 21:07:23 CEST 2008
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=35679&r1=35678&r2=35679&view=diff
==============================================================================
--- 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;
More information about the Ros-diffs
mailing list