diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2007-05-07 12:41:34 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2007-05-07 12:41:34 +0000 |
commit | 6671136c7c09706be3142f5c49986fac60cf3486 (patch) | |
tree | c33d9d3d61f22a1ac0a66aea4ed08f34a7ec7c23 /cppe/demo/IceE/chat/LogI.cpp | |
parent | fix self-inclusion bug in jar task (diff) | |
download | ice-6671136c7c09706be3142f5c49986fac60cf3486.tar.bz2 ice-6671136c7c09706be3142f5c49986fac60cf3486.tar.xz ice-6671136c7c09706be3142f5c49986fac60cf3486.zip |
Remove DisableWarnings.h
Diffstat (limited to 'cppe/demo/IceE/chat/LogI.cpp')
-rw-r--r-- | cppe/demo/IceE/chat/LogI.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cppe/demo/IceE/chat/LogI.cpp b/cppe/demo/IceE/chat/LogI.cpp index a0e7d6c88ff..1535ecd839c 100644 --- a/cppe/demo/IceE/chat/LogI.cpp +++ b/cppe/demo/IceE/chat/LogI.cpp @@ -7,7 +7,6 @@ // // ********************************************************************** -#include <IceE/DisableWarnings.h> #include <stdafx.h> #include <LogI.h> @@ -90,6 +89,6 @@ LogI::post(const string& data) { assert(_hwnd != 0); char* text = new char[data.size()+1]; - strcpy(text, data.c_str()); + strcpy_s(text, data.size()+1, data.c_str()); ::PostMessage(_hwnd, WM_USER, (WPARAM)FALSE, (LPARAM)text); } |