summaryrefslogtreecommitdiff
path: root/plugins/SendScreenshotPlus/src/Main.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2012-11-04 14:28:41 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2012-11-04 14:28:41 +0000
commitfb4c884885e546515a88f0ab644482fe373704ef (patch)
tree3662d5cb08abf608391d8b497a99c44a8f0b786c /plugins/SendScreenshotPlus/src/Main.cpp
parent8d7ce568c13e30da199dc05b3a34908a6afa3f59 (diff)
Do not create Screenshots if the directory doesn't exist (fixes #153)
git-svn-id: http://svn.miranda-ng.org/main/trunk@2181 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SendScreenshotPlus/src/Main.cpp')
-rw-r--r--plugins/SendScreenshotPlus/src/Main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/SendScreenshotPlus/src/Main.cpp b/plugins/SendScreenshotPlus/src/Main.cpp
index 923de72621..5b855c7972 100644
--- a/plugins/SendScreenshotPlus/src/Main.cpp
+++ b/plugins/SendScreenshotPlus/src/Main.cpp
@@ -360,6 +360,7 @@ LPTSTR GetCustomPath() {
TCHAR szError[MAX_PATH];
mir_sntprintf(szError,MAX_PATH,TranslateT("Could not create Screenshot folder (error code: %d):\n%s\nDo you have write permissions?"),result,pszPath);
MessageBox(NULL, szError, _T("Send Screenshot"), MB_OK | MB_ICONERROR | MB_APPLMODAL);
+ return 0;
}
return pszPath;
}