From 288f205d6c240ec833af74d921076b2098f8274d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Sch=C3=BCmann?= Date: Thu, 25 Dec 2014 00:31:38 +0000 Subject: SendSS: * optimize helper functions by adding "const" to read-only string parameters git-svn-id: http://svn.miranda-ng.org/main/trunk@11612 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SendScreenshotPlus/src/Utils.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/SendScreenshotPlus/src/Utils.h') diff --git a/plugins/SendScreenshotPlus/src/Utils.h b/plugins/SendScreenshotPlus/src/Utils.h index 9fed8a737d..2eab116f54 100644 --- a/plugins/SendScreenshotPlus/src/Utils.h +++ b/plugins/SendScreenshotPlus/src/Utils.h @@ -55,10 +55,10 @@ FIBITMAP* CaptureScreen(HDC hDC, SIZE size, HWND hCapture=0); //FIBITMAP* CaptureDesktop(); /*emulate print screen (not used)*/ TCHAR* SaveImage(FREE_IMAGE_FORMAT fif, FIBITMAP* dib, TCHAR* pszFilename, TCHAR* pszExt, int flag=0); -TCHAR* GetFileNameW(TCHAR* pszPath); -TCHAR* GetFileExtW (TCHAR* pszPath); -char* GetFileNameA(TCHAR* pszPath); -char* GetFileExtA (TCHAR* pszPath); +TCHAR* GetFileNameW(const TCHAR* pszPath); +TCHAR* GetFileExtW (const TCHAR* pszPath); +char* GetFileNameA(const TCHAR* pszPath); +char* GetFileExtA (const TCHAR* pszPath); #ifdef _UNICODE # define GetFileName GetFileNameW # define GetFileExt GetFileExtW -- cgit v1.2.3