Buffer overflow fix

dev-ui
Piotr Dziwinski 2013-11-13 18:50:43 +01:00
parent 99b3ff78f8
commit 418f57f8be
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ CControl::~CControl()
bool CControl::Create(Math::Point pos, Math::Point dim, int icon, EventType eventType) bool CControl::Create(Math::Point pos, Math::Point dim, int icon, EventType eventType)
{ {
char text[100]; char text[200];
std::string str_text; std::string str_text;
if ( eventType == EVENT_NULL ) if ( eventType == EVENT_NULL )