diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-07-22 17:54:52 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-07-22 17:54:52 +0000 |
commit | 44775ea68f894c3e236cdc397d6b0856c5882143 (patch) | |
tree | 32088426164d4aec937c4ce82f0725e600c4ba66 /plugins/ClientChangeNotify/src | |
parent | 01de930753fd7a5d47c0350a4361949d770b93cf (diff) |
replace sprintf to mir_snprintf (part 2)
git-svn-id: http://svn.miranda-ng.org/main/trunk@5447 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ClientChangeNotify/src')
-rw-r--r-- | plugins/ClientChangeNotify/src/CommonLibs/CString.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/plugins/ClientChangeNotify/src/CommonLibs/CString.cpp b/plugins/ClientChangeNotify/src/CommonLibs/CString.cpp index b36076eec8..a874b75721 100644 --- a/plugins/ClientChangeNotify/src/CommonLibs/CString.cpp +++ b/plugins/ClientChangeNotify/src/CommonLibs/CString.cpp @@ -268,24 +268,10 @@ TString<T>& TString<T>::operator = (const T *pStr) return *this;
}
-
-/*TCString& TCString::Format(char *pszFormat, ...)
-{
- va_list argList;
- va_start(argList, pszFormat);
- int StrLen = _vscprintf(pszFormat, argList); // it's stupidity. in some versions of msvcrt.dll there's no _vscprintf function, so there's no any way to determine needed string length. so actually I can't use _vsnprintf too.
- _vsnprintf(GetBuffer(StrLen), StrLen, pszFormat, argList);
- ReleaseBuffer(StrLen);
- va_end(argList);
- return *this;
-}
-*/
-
template class TString<TCHAR>;
template class TString<char>;
template class TString<WCHAR>;
-
CString db_get_s(HANDLE hContact, const char *szModule, const char *szSetting, const char *szDefaultValue)
{
ptrA p( db_get_sa(hContact, szModule, szSetting));
|