diff options
author | René Schümann <white06tiger@gmail.com> | 2014-06-07 02:09:06 +0000 |
---|---|---|
committer | René Schümann <white06tiger@gmail.com> | 2014-06-07 02:09:06 +0000 |
commit | e0c488c6dc749b80d29a0de678a40fea3510695b (patch) | |
tree | 342e49a7cb875590b59bec99b18b27140c579c76 /plugins/SendScreenshotPlus/src/CSendImageShack.cpp | |
parent | a03937bb912c76af61f04da1c5d5a5e7d5e4d7aa (diff) |
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
Diffstat (limited to 'plugins/SendScreenshotPlus/src/CSendImageShack.cpp')
-rw-r--r-- | plugins/SendScreenshotPlus/src/CSendImageShack.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |