summaryrefslogtreecommitdiff
path: root/plugins/SendScreenshotPlus/src/mir_string.cpp
diff options
context:
space:
mode:
authorRené Schümann <white06tiger@gmail.com>2014-12-27 05:56:38 +0000
committerRené Schümann <white06tiger@gmail.com>2014-12-27 05:56:38 +0000
commit6d6b16c8591d375a4a4a2db1ebfb307116df3fd0 (patch)
tree0570f547e024d1992847e11616086b8fff7b6156 /plugins/SendScreenshotPlus/src/mir_string.cpp
parent6ffc309d05545fe59bdca2b061b605e1dd63c664 (diff)
SendSS:
- cleaned up our mir_string stuff and removed lots of custom implementations as we use those of NG core now (couldn't get rid of mir_string though.. we still use some custom stuff) git-svn-id: http://svn.miranda-ng.org/main/trunk@11650 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SendScreenshotPlus/src/mir_string.cpp')
-rw-r--r--plugins/SendScreenshotPlus/src/mir_string.cpp20
1 files changed, 1 insertions, 19 deletions
diff --git a/plugins/SendScreenshotPlus/src/mir_string.cpp b/plugins/SendScreenshotPlus/src/mir_string.cpp
index e2e6c87f38..a66f234f12 100644
--- a/plugins/SendScreenshotPlus/src/mir_string.cpp
+++ b/plugins/SendScreenshotPlus/src/mir_string.cpp
@@ -27,24 +27,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "global.h"
-wchar_t* mir_wcsncpy(wchar_t* pszDest, const wchar_t* pszSrc, const size_t cchDest)
-{
- if (!pszDest || !pszSrc || !cchDest)
- return NULL;
- pszDest = wcsncpy(pszDest, pszSrc, cchDest-1);
- pszDest[cchDest-1] = 0;
- return pszDest;
-}
-
-wchar_t* mir_wcsncat(wchar_t* pszDest, const wchar_t* pszSrc, const size_t cchDest)
-{
- if (!pszDest || !pszSrc || !cchDest)
- return NULL;
- pszDest = wcsncat(pszDest, pszSrc, cchDest-1);
- pszDest[cchDest-1] = 0;
- return pszDest;
-}
-
//---------------------------------------------------------------------------
void mir_stradd(char* &pszDest, const char* pszSrc)
{
@@ -64,7 +46,7 @@ void mir_stradd(char* &pszDest, const char* pszSrc)
}
}
-void mir_wcsadd(wchar_t* &pszDest, const wchar_t* pszSrc)
+void mir_wstradd(wchar_t* &pszDest, const wchar_t* pszSrc)
{
if(!pszSrc)
return;