summaryrefslogtreecommitdiff
path: root/plugins/SendScreenshotPlus/src/mir_string.cpp
diff options
context:
space:
mode:
authorRené Schümann <white06tiger@gmail.com>2014-04-03 01:46:29 +0000
committerRené Schümann <white06tiger@gmail.com>2014-04-03 01:46:29 +0000
commita58626275cfecfeae65ffb94e006483b1e344fde (patch)
tree39ef8a9a30974cdebd483201dd3e12ef255ccca1 /plugins/SendScreenshotPlus/src/mir_string.cpp
parent3ff89e16119e063eb5719679e7b34d306116b265 (diff)
SendSS: updated files imported from UserInfoEx (mir_string,mir_icolib,dlg_msgbox)
* renamed IDI_ constants to reflect UserInfoEx style * use Skin_GetIcon() directly instead of IcoLib_GetIcon() git-svn-id: http://svn.miranda-ng.org/main/trunk@8832 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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;