summaryrefslogtreecommitdiff
path: root/plugins/SendScreenshotPlus/src/CSend.cpp
diff options
context:
space:
mode:
authorRené Schümann <white06tiger@gmail.com>2014-12-25 00:30:09 +0000
committerRené Schümann <white06tiger@gmail.com>2014-12-25 00:30:09 +0000
commitf1854df3ba57b0358c893884d56d6826e25f344d (patch)
treec78083d6fc677729fc86f895ab4695c899ed86e3 /plugins/SendScreenshotPlus/src/CSend.cpp
parente5c1ba56b7f6ef24279b5e7cda3759b2e68e4c8d (diff)
SendSS:
* global.h is now more global removed Main.h dependency removed MODNAME define (just a dupe of SZ_SENDSS) hInst -> g_hSendSS myGlobals -> g_myGlobals hNetlibUser -> g_hNetlibUser * restructured Main.cpp by reordering functions to be more logically placed * Main.h now only holds DLL_EXPORT functions git-svn-id: http://svn.miranda-ng.org/main/trunk@11608 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SendScreenshotPlus/src/CSend.cpp')
-rw-r--r--plugins/SendScreenshotPlus/src/CSend.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/SendScreenshotPlus/src/CSend.cpp b/plugins/SendScreenshotPlus/src/CSend.cpp
index cc1e5d40c7..cd6aaa856c 100644
--- a/plugins/SendScreenshotPlus/src/CSend.cpp
+++ b/plugins/SendScreenshotPlus/src/CSend.cpp
@@ -382,7 +382,7 @@ void CSend::DB_EventAdd(WORD EventType)
void CSend::Error(LPCTSTR pszFormat, ...) {
TCHAR tszMsg[MAX_SECONDLINE];
- mir_sntprintf(tszMsg, SIZEOF(tszMsg),_T("%s - %s") ,_T(MODNAME), TranslateT("Error"));
+ mir_sntprintf(tszMsg, SIZEOF(tszMsg),_T("%s - %s") ,_T(SZ_SENDSS), TranslateT("Error"));
mir_free(m_ErrorTitle), m_ErrorTitle = mir_tstrdup(tszMsg);
va_list vl;
@@ -408,7 +408,7 @@ void CSend::Exit(unsigned int Result) {
switch(Result) {
case CSEND_DIALOG:
SkinPlaySound("FileDone");
- DialogBoxParam(hInst, MAKEINTRESOURCE(IDD_UResultForm),0, ResultDialogProc,(LPARAM)this);
+ DialogBoxParam(g_hSendSS, MAKEINTRESOURCE(IDD_UResultForm),0, ResultDialogProc,(LPARAM)this);
err = false;
break;
case ACKRESULT_SUCCESS: