summaryrefslogtreecommitdiff
path: root/Bus/Ivy/IvyStdAfx.cpp
diff options
context:
space:
mode:
authorfcolin2007-02-01 13:02:24 +0000
committerfcolin2007-02-01 13:02:24 +0000
commitbd1b8a4b1ea1be809adfdbb0e23f00fd24ab7bd6 (patch)
treecbf1ed5be2e47cb734b2dc7ef91ff1326e41a92f /Bus/Ivy/IvyStdAfx.cpp
parent4f862b36ced5cb5884b0bf259cb4b36261d13859 (diff)
downloadivy-cplusplus-bd1b8a4b1ea1be809adfdbb0e23f00fd24ab7bd6.zip
ivy-cplusplus-bd1b8a4b1ea1be809adfdbb0e23f00fd24ab7bd6.tar.gz
ivy-cplusplus-bd1b8a4b1ea1be809adfdbb0e23f00fd24ab7bd6.tar.bz2
ivy-cplusplus-bd1b8a4b1ea1be809adfdbb0e23f00fd24ab7bd6.tar.xz
Utilisateur : Fcolin Date : 1/06/05 Heure : 16:45 Archivé dans $/Bus/Ivy Commentaire: (vss 6)
Diffstat (limited to 'Bus/Ivy/IvyStdAfx.cpp')
-rw-r--r--Bus/Ivy/IvyStdAfx.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Bus/Ivy/IvyStdAfx.cpp b/Bus/Ivy/IvyStdAfx.cpp
index 41fc8a6..0d1d4b4 100644
--- a/Bus/Ivy/IvyStdAfx.cpp
+++ b/Bus/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 <windows.h>
@@ -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 );