diff options
Diffstat (limited to 'plugins/DbEditorPP/src')
-rw-r--r-- | plugins/DbEditorPP/src/headers.h | 1 | ||||
-rw-r--r-- | plugins/DbEditorPP/src/main.cpp | 14 |
2 files changed, 0 insertions, 15 deletions
diff --git a/plugins/DbEditorPP/src/headers.h b/plugins/DbEditorPP/src/headers.h index c570d2c404..6d34b06761 100644 --- a/plugins/DbEditorPP/src/headers.h +++ b/plugins/DbEditorPP/src/headers.h @@ -187,7 +187,6 @@ int GetValue(HANDLE hContact, const char* szModule, const char* szSetting, char* int GetValueW(HANDLE hContact, const char* szModule, const char* szSetting, WCHAR* Value, int length);
char* u2a( wchar_t* src );
wchar_t *a2u( char* src , wchar_t *buffer, int len );
-int mir_snwprintf(WCHAR *buffer, size_t count, const WCHAR* fmt, ...);
WCHAR *GetContactName(HANDLE hContact, const char *szProto, int unicode);
BOOL IsProtocolLoaded(char* pszProtocolName);
diff --git a/plugins/DbEditorPP/src/main.cpp b/plugins/DbEditorPP/src/main.cpp index f1f5c81b30..74692369e4 100644 --- a/plugins/DbEditorPP/src/main.cpp +++ b/plugins/DbEditorPP/src/main.cpp @@ -491,20 +491,6 @@ wchar_t *a2u( char* src , wchar_t *buffer, int len ) return result;
}
-int mir_snwprintf(WCHAR *buffer, size_t count, const WCHAR* fmt, ...)
-{
- va_list va;
- int len;
-
- va_start(va, fmt);
- len = _vsnwprintf(buffer, count-1, fmt, va);
- va_end(va);
-
- buffer[count-1] = 0;
-
- return len;
-}
-
int GetDatabaseString(HANDLE hContact, const char *szModule, const char* szSetting, WCHAR *Value, int length, BOOL unicode)
{
if (unicode)
|