From 27b171f9cb2ec054a0ae47acd3f21f4737463c2a Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 13:00:09 +0000 Subject: Utilisateur : Fcolin Date : 1/06/05 Heure : 16:45 Archivé dans $/Bus/Ivy Commentaire: (vss 21) --- Bus/Ivy/IvyApplication.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Bus/Ivy') diff --git a/Bus/Ivy/IvyApplication.cxx b/Bus/Ivy/IvyApplication.cxx index 23abfbf..3eaecdb 100644 --- a/Bus/Ivy/IvyApplication.cxx +++ b/Bus/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 -- cgit v1.1