From 9a4d6d236bcd294d77884441494c2e32f3817b11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Sch=C3=BCmann?= Date: Thu, 10 Apr 2014 23:34:27 +0000 Subject: SendSS: * improved GetFileName() to also handle Unix paths (Utils) !* improved and fixed dialog, caused graphical issues before, also improved tab order (UMainForm, resource) * improved resource.rc a bit. Now use defines for UInfoButtonClass styles * replaced some mir_freeAndNil() calls with mir_free() where appreciated (UMainForm, UAboutForm) * minor update to Dropbox support. no real change git-svn-id: http://svn.miranda-ng.org/main/trunk@8939 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SendScreenshotPlus/src/CSendFTPFile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/SendScreenshotPlus/src/CSendFTPFile.cpp') diff --git a/plugins/SendScreenshotPlus/src/CSendFTPFile.cpp b/plugins/SendScreenshotPlus/src/CSendFTPFile.cpp index 57fc704501..9ec7a21efa 100644 --- a/plugins/SendScreenshotPlus/src/CSendFTPFile.cpp +++ b/plugins/SendScreenshotPlus/src/CSendFTPFile.cpp @@ -58,7 +58,7 @@ int CSendFTPFile::Send() * Returns 0 on success or nonzero on failure * if (!wParam || !lParam) return 1 ********************************************************************************************/ - mir_freeAndNil(m_pszFileName); + mir_free(m_pszFileName); m_pszFileName = GetFileNameA(m_pszFile); size_t size = sizeof(char)*(strlen(m_pszFileName)+2); m_pszFileName = (char*)mir_realloc(m_pszFileName, size); -- cgit v1.2.3