From a8d96166e058d988bba3fd12d66d73ff08c98f14 Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 13:02:24 +0000 Subject: Utilisateur : Fcolin Date : 1/06/05 Heure : 16:45 Archivé dans $/Bus/Ivy Commentaire: (vss 6) --- Ivy/IvyStdAfx.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Ivy') diff --git a/Ivy/IvyStdAfx.cpp b/Ivy/IvyStdAfx.cpp index 41fc8a6..0d1d4b4 100644 --- a/Ivy/IvyStdAfx.cpp +++ b/Ivy/IvyStdAfx.cpp @@ -2,7 +2,7 @@ // libIvy.pch will be the pre-compiled header // stdafx.obj will contain the pre-compiled type information -#include "stdafx.h" +#include "IvyStdAfx.h" #include @@ -15,7 +15,7 @@ void DebugTrace ( const char *fmt , ... ) va_list args; va_start( args, fmt ); - vsprintf( buffer, fmt, args ); + _vsnprintf( buffer, sizeof(buffer), fmt, args ); va_end( args ); #ifdef UNDER_CE MultiByteToWideChar( CP_ACP, MB_PRECOMPOSED, buffer, -1, CEBuffer, 4096 ); -- cgit v1.1