summaryrefslogtreecommitdiff
path: root/plugins/SendScreenshotPlus/src/mir_string.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SendScreenshotPlus/src/mir_string.cpp')
-rw-r--r--plugins/SendScreenshotPlus/src/mir_string.cpp13
1 files changed, 6 insertions, 7 deletions
diff --git a/plugins/SendScreenshotPlus/src/mir_string.cpp b/plugins/SendScreenshotPlus/src/mir_string.cpp
index 3ac9ffca3a..e2e6c87f38 100644
--- a/plugins/SendScreenshotPlus/src/mir_string.cpp
+++ b/plugins/SendScreenshotPlus/src/mir_string.cpp
@@ -1,5 +1,4 @@
/*
-
Miranda NG: the free IM client for Microsoft* Windows*
Copyright (c) 2012-14 Miranda NG project (http://miranda-ng.org),
@@ -18,8 +17,8 @@ of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-See the GNU General Public License for more details.
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
@@ -28,7 +27,7 @@ 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)
+wchar_t* mir_wcsncpy(wchar_t* pszDest, const wchar_t* pszSrc, const size_t cchDest)
{
if (!pszDest || !pszSrc || !cchDest)
return NULL;
@@ -37,7 +36,7 @@ wchar_t *mir_wcsncpy(wchar_t *pszDest, const wchar_t *pszSrc, const size_t cchDe
return pszDest;
}
-wchar_t *mir_wcsncat(wchar_t *pszDest, const wchar_t *pszSrc, const size_t cchDest)
+wchar_t* mir_wcsncat(wchar_t* pszDest, const wchar_t* pszSrc, const size_t cchDest)
{
if (!pszDest || !pszSrc || !cchDest)
return NULL;
@@ -47,7 +46,7 @@ wchar_t *mir_wcsncat(wchar_t *pszDest, const wchar_t *pszSrc, const size_t cchDe
}
//---------------------------------------------------------------------------
-void mir_stradd(char* &pszDest, const char *pszSrc)
+void mir_stradd(char* &pszDest, const char* pszSrc)
{
if(!pszSrc)
return;
@@ -65,7 +64,7 @@ void mir_stradd(char* &pszDest, const char *pszSrc)
}
}
-void mir_wcsadd(wchar_t* &pszDest, const wchar_t *pszSrc)
+void mir_wcsadd(wchar_t* &pszDest, const wchar_t* pszSrc)
{
if(!pszSrc)
return;