summaryrefslogtreecommitdiff
path: root/Ivy/IvyApplication.cxx
diff options
context:
space:
mode:
authorfcolin2007-02-01 13:00:09 +0000
committerfcolin2007-02-01 13:00:09 +0000
commit009f570f9c4e60137201d782d7c1f6a3b918232f (patch)
treed8f25368f1d70986be219ba4c7a2bf1946c56270 /Ivy/IvyApplication.cxx
parent03f69b1c55a75ecf83a81ec4a342b924c95b68e5 (diff)
downloadivy-cplusplus-009f570f9c4e60137201d782d7c1f6a3b918232f.zip
ivy-cplusplus-009f570f9c4e60137201d782d7c1f6a3b918232f.tar.gz
ivy-cplusplus-009f570f9c4e60137201d782d7c1f6a3b918232f.tar.bz2
ivy-cplusplus-009f570f9c4e60137201d782d7c1f6a3b918232f.tar.xz
Utilisateur : Fcolin Date : 1/06/05 Heure : 16:45 Archivé dans $/Bus/Ivy Commentaire: (vss 21)
Diffstat (limited to 'Ivy/IvyApplication.cxx')
-rw-r--r--Ivy/IvyApplication.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Ivy/IvyApplication.cxx b/Ivy/IvyApplication.cxx
index 23abfbf..3eaecdb 100644
--- a/Ivy/IvyApplication.cxx
+++ b/Ivy/IvyApplication.cxx
@@ -1,7 +1,7 @@
// IvyApplication.cpp : implementation file
//
-#include "stdafx.h"
+#include "IvyStdAfx.h"
#include "IvyApplication.h"
@@ -281,7 +281,7 @@ void IvyApplication::SendMsg(MsgType msg, int id, const char * arg)
{
char buffer[1024];
if ( arg )
- sprintf( buffer, "%d %d" ARG_START "%s\n", msg, id, arg );
+ _snprintf( buffer, sizeof( buffer ), "%d %d" ARG_START "%s\n", msg, id, arg );
else sprintf( buffer, "%d %d" ARG_START "\n", msg, id );
#ifdef IVY_DEBUG