From 12718514fb673dbb72f7d93ea3bb34c9574bd69a Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Fri, 26 Jul 2013 08:46:45 +0000 Subject: replace sprintf to mir_snprintf (part 7) removed not used files git-svn-id: http://svn.miranda-ng.org/main/trunk@5490 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Dbx_tree/src/Events.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/Dbx_tree/src/Events.cpp') diff --git a/plugins/Dbx_tree/src/Events.cpp b/plugins/Dbx_tree/src/Events.cpp index 41228b69ce..ee3254ad44 100644 --- a/plugins/Dbx_tree/src/Events.cpp +++ b/plugins/Dbx_tree/src/Events.cpp @@ -89,12 +89,12 @@ bool CEventsTypeManager::GetType(uint32_t GlobalID, char * & Module, uint32_t & sname.Descriptor = &d; sname.Type = DBT_ST_ANSI; - sprintf_s(n, "$EventTypes/%08x/ModuleID", GlobalID); + mir_snprintf(n, SIZEOF(n), "$EventTypes/%08x/ModuleID", GlobalID); TDBTSettingHandle h = m_Settings.ReadSetting(sid); if ((h != DBT_INVALIDPARAM) && (h != 0)) { - sprintf_s(n, "$EventTypes/%08x/ModuleName", GlobalID); + mir_snprintf(n, SIZEOF(n), "$EventTypes/%08x/ModuleName", GlobalID); d.Flags = 0; h = m_Settings.ReadSetting(sname); @@ -145,12 +145,12 @@ uint32_t CEventsTypeManager::EnsureIDExists(char* Module, uint32_t EventType) s.cbSize = sizeof(s); s.Descriptor = &d; - sprintf_s(n, "$EventTypes/%08x/ModuleID", res); + mir_snprintf(n, SIZEOF(n), "$EventTypes/%08x/ModuleID", res); s.Type = DBT_ST_INT; s.Value.Int = EventType; m_Settings.WriteSetting(s); - sprintf_s(n, "$EventTypes/%08x/ModuleName", res); + mir_snprintf(n, SIZEOF(n), "$EventTypes/%08x/ModuleName", res); d.Flags = 0; s.Type = DBT_ST_ANSI; s.Value.Length = static_cast(strlen(Module) + 1); -- cgit v1.2.3