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/CSendEmail.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/SendScreenshotPlus/src/CSendEmail.cpp') diff --git a/plugins/SendScreenshotPlus/src/CSendEmail.cpp b/plugins/SendScreenshotPlus/src/CSendEmail.cpp index 77d21ad332..968dcb0d5c 100644 --- a/plugins/SendScreenshotPlus/src/CSendEmail.cpp +++ b/plugins/SendScreenshotPlus/src/CSendEmail.cpp @@ -53,10 +53,10 @@ CSendEmail::~CSendEmail(){ int CSendEmail::Send() { if(!m_hContact) return 1; - mir_freeAndNil(m_pszFileName); + mir_free(m_pszFileName); m_pszFileName = GetFileNameA(m_pszFile); - mir_freeAndNil(m_pszFileA); + mir_free(m_pszFileA); m_pszFileA = mir_t2a(m_pszFile); -- cgit v1.2.3