summaryrefslogtreecommitdiff
path: root/plugins/SendScreenshotPlus/src/CSendFTPFile.cpp
diff options
context:
space:
mode:
authorRené Schümann <white06tiger@gmail.com>2014-04-10 23:34:27 +0000
committerRené Schümann <white06tiger@gmail.com>2014-04-10 23:34:27 +0000
commit9a4d6d236bcd294d77884441494c2e32f3817b11 (patch)
tree60a7e4bb2caed036999c37e55a41db6c8c4b71ce /plugins/SendScreenshotPlus/src/CSendFTPFile.cpp
parentab05a30ab1f725e421287bf8158508c3ba3eddd3 (diff)
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
Diffstat (limited to 'plugins/SendScreenshotPlus/src/CSendFTPFile.cpp')
-rw-r--r--plugins/SendScreenshotPlus/src/CSendFTPFile.cpp2
1 files changed, 1 insertions, 1 deletions
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);