From baed69574ed39b32e706f4ecd4da5d748b471d2c Mon Sep 17 00:00:00 2001 From: Magnus Olsen Date: Tue, 17 May 2005 21:18:04 +0000 Subject: [PATCH] Fix unicode / ansi build problem for -D_DEBUG build a old bug in cmd. Bug report 629 in bugzila fix by tinus and his patch at bugzila svn path=/trunk/; revision=15390 --- reactos/subsys/system/cmd/dir.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reactos/subsys/system/cmd/dir.c b/reactos/subsys/system/cmd/dir.c index 9726a7ff7f8..4bf5a41d2d1 100644 --- a/reactos/subsys/system/cmd/dir.c +++ b/reactos/subsys/system/cmd/dir.c @@ -1668,7 +1668,7 @@ TCHAR szMsg[RC_STRING_MAX_SIZE]; if (ptrStartNode == NULL) { #ifdef _DEBUG - ConErrPrintf("DEBUG: Cannot allocate memory for ptrStartNode!\n"); + ConErrPrintf(_T("DEBUG: Cannot allocate memory for ptrStartNode!\n")); #endif return 1; /* Error cannot allocate memory for 1st object */ } @@ -1688,7 +1688,7 @@ TCHAR szMsg[RC_STRING_MAX_SIZE]; if (ptrNextNode->ptrNext == NULL) { #ifdef _DEBUG - ConErrPrintf("DEBUG: Cannot allocate memory for ptrNextNode->ptrNext!\n"); + ConErrPrintf(_T("DEBUG: Cannot allocate memory for ptrNextNode->ptrNext!\n")); #endif while (ptrStartNode) { @@ -1748,7 +1748,7 @@ TCHAR szMsg[RC_STRING_MAX_SIZE]; if (ptrFileArray == NULL) { #ifdef _DEBUG - ConErrPrintf("DEBUG: Cannot allocate memory for ptrFileArray!\n"); + ConErrPrintf(_T("DEBUG: Cannot allocate memory for ptrFileArray!\n")); #endif while (ptrStartNode) {