summaryrefslogtreecommitdiff
path: root/plugins/SendScreenshotPlus/src/Main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SendScreenshotPlus/src/Main.cpp')
-rw-r--r--plugins/SendScreenshotPlus/src/Main.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/SendScreenshotPlus/src/Main.cpp b/plugins/SendScreenshotPlus/src/Main.cpp
index 51e51a9f92..782b4ba403 100644
--- a/plugins/SendScreenshotPlus/src/Main.cpp
+++ b/plugins/SendScreenshotPlus/src/Main.cpp
@@ -52,8 +52,6 @@ PLUGININFOEX pluginInfo={
{0xed39af7c, 0xbecd, 0x404e, {0x94, 0x99, 0x4d, 0x04, 0xf7, 0x11, 0xb9, 0xcb}}
};
-//static char szSendSS[]=SZ_SENDSS;
-
HANDLE hsvc_SendScreenshot=0;
HANDLE hsvc_SendDesktop=0;
HANDLE hsvc_EditBitmap=0;
@@ -288,7 +286,7 @@ INT_PTR service_Send2ImageShack(WPARAM wParam, LPARAM lParam) {
if (cSend->GetURL()) {
result=mir_strdup(cSend->GetURL());
}else{
- result=cSend->GetError();
+ result=mir_t2a(cSend->GetErrorMsg());
}
delete cSend;
return (INT_PTR)result;