From e0c488c6dc749b80d29a0de678a40fea3510695b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Sch=C3=BCmann?= Date: Sat, 7 Jun 2014 02:09:06 +0000 Subject: SendSS: ! fixed non-centered text in capture desktop size edit box (resource.rc) ! fixed x86_64 related type error (CSendImageShack) - removed duplicate code, and "removed" ability to use custom icons for capture tabs (we're using the same icon anyway, no need to load it thrice) + added local file feature to upload existing local files (resource, UMainForm, mir_string) reduced function DlgProc_CaptureWindow and DlgProc_CaptureDesktop to just DlgProc_CaptureTabPage as we use less code with only one function handling all 3 tab pages ("lot" of shared code) git-svn-id: http://svn.miranda-ng.org/main/trunk@9416 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SendScreenshotPlus/src/CSendImageShack.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/SendScreenshotPlus/src/CSendImageShack.cpp') diff --git a/plugins/SendScreenshotPlus/src/CSendImageShack.cpp b/plugins/SendScreenshotPlus/src/CSendImageShack.cpp index 9d37604197..c12eed48fe 100644 --- a/plugins/SendScreenshotPlus/src/CSendImageShack.cpp +++ b/plugins/SendScreenshotPlus/src/CSendImageShack.cpp @@ -79,7 +79,7 @@ void CSendImageShack::SendThread() { if(url && *url){ mir_free(m_URL), m_URL=mir_strdup(url); mir_free(m_URLthumb), m_URLthumb=mir_strdup(m_URL); - int extlen; + size_t extlen; char* pos=strrchr(m_URLthumb,'.'); if(pos && (extlen=mir_strlen(pos))>2){ char* tmp=mir_strdup(pos); -- cgit v1.2.3