summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfcolin2007-02-01 13:03:18 +0000
committerfcolin2007-02-01 13:03:18 +0000
commitfea1bcb86df19daf2f08d11ad219ea0dac7be125 (patch)
tree954241cba340e601e2e26176d0db0c1cf58100f0
parent02b8ce0b1e1c0193245917f92f2e1cdb600b3330 (diff)
downloadivy-cplusplus-fea1bcb86df19daf2f08d11ad219ea0dac7be125.zip
ivy-cplusplus-fea1bcb86df19daf2f08d11ad219ea0dac7be125.tar.gz
ivy-cplusplus-fea1bcb86df19daf2f08d11ad219ea0dac7be125.tar.bz2
ivy-cplusplus-fea1bcb86df19daf2f08d11ad219ea0dac7be125.tar.xz
Utilisateur : Fcolin Date : 4/02/03 Heure : 8:59 Archivé dans $/Bus/Ivy Commentaire: (vss 10)
-rw-r--r--Ivy/IvySynchroWnd.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Ivy/IvySynchroWnd.cxx b/Ivy/IvySynchroWnd.cxx
index d21a008..67c02d4 100644
--- a/Ivy/IvySynchroWnd.cxx
+++ b/Ivy/IvySynchroWnd.cxx
@@ -136,7 +136,11 @@ void IvySynchronousMessageCallback::OnMessage(IvyApplication *app, int argc, con
param->argv = new char*[argc];
for( int i = 0; i < argc ; i++ )
{
+#ifdef UNDER_CE
+ param->argv[i] = _strdup( argv[i]);
+#else
param->argv[i] = strdup( argv[i]);
+#endif
}
// TRACE( "IvySynchronousMessageCallback::OnMessage msg count %d\n",wParam);
m_synchro->PostIvyCB( param );