summaryrefslogtreecommitdiff
path: root/plugins/SendScreenshotPlus
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-08-02 21:21:45 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-08-02 21:21:45 +0000
commitd2946eb5bb3692806bb67e6e8a8d981f0e599850 (patch)
tree55dc7a15199c69824aa1a4550a326369c9a372f5 /plugins/SendScreenshotPlus
parent53551a6153e66fff4b35eb92366b0d1be906d624 (diff)
removal of the rest of __DATE__ and __TIME__
git-svn-id: http://svn.miranda-ng.org/main/trunk@1332 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SendScreenshotPlus')
-rw-r--r--plugins/SendScreenshotPlus/res/resource.rc1
-rw-r--r--plugins/SendScreenshotPlus/src/UAboutForm.cpp5
-rw-r--r--plugins/SendScreenshotPlus/src/global.h2
-rw-r--r--plugins/SendScreenshotPlus/src/resource.h1
4 files changed, 2 insertions, 7 deletions
diff --git a/plugins/SendScreenshotPlus/res/resource.rc b/plugins/SendScreenshotPlus/res/resource.rc
index 6a0a12a119..c52b467e53 100644
--- a/plugins/SendScreenshotPlus/res/resource.rc
+++ b/plugins/SendScreenshotPlus/res/resource.rc
@@ -88,7 +88,6 @@ BEGIN
LTEXT "",IDC_WHITERECT,0,25,213,135,NOT WS_GROUP
EDITTEXT IDC_LICENSE,5,37,204,95,ES_MULTILINE | ES_AUTOVSCROLL | ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER | WS_VSCROLL
EDITTEXT IDC_CREDIT,5,37,204,95,ES_MULTILINE | ES_AUTOVSCROLL | ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER | WS_VSCROLL
- EDITTEXT IDC_BUILDTIME,5,147,146,12,ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER | NOT WS_TABSTOP
CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,0,160,213,1
END
diff --git a/plugins/SendScreenshotPlus/src/UAboutForm.cpp b/plugins/SendScreenshotPlus/src/UAboutForm.cpp
index f4ea2b6bc2..beb65fce08 100644
--- a/plugins/SendScreenshotPlus/src/UAboutForm.cpp
+++ b/plugins/SendScreenshotPlus/src/UAboutForm.cpp
@@ -40,7 +40,6 @@ LRESULT CALLBACK TfrmAbout::DlgTfrmAbout(HWND hWnd, UINT msg, WPARAM wParam, LPA
if (msg == WM_CTLCOLOREDIT || msg == WM_CTLCOLORSTATIC) {
switch ( GetWindowLongPtr(( HWND )lParam, GWL_ID )) {
case IDC_WHITERECT:
- case IDC_BUILDTIME:
case IDC_CREDIT:
case IDC_LICENSE:
SetTextColor((HDC)wParam,GetSysColor(COLOR_WINDOWTEXT));
@@ -100,10 +99,6 @@ LRESULT TfrmAbout::wmInitdialog(WPARAM wParam, LPARAM lParam) {
SetDlgItemText( m_hWnd, IDC_HEADERBAR, newTitle );
SendMessage(GetDlgItem(m_hWnd, IDC_HEADERBAR), WM_SETICON, 0, (WPARAM)IcoLib_GetIcon(ICO_PLUG_SSWINDOW1, true));
- //Buildtime
- mir_sntprintf(newTitle,SIZEOF(newTitle),TranslateT("Built %s %s"),_T(__DATE__),_T(__TIME__));
- SetDlgItemText(m_hWnd,IDC_BUILDTIME,newTitle);
-
//License
{ mir_tcsadd(pszTitle ,_T(__COPYRIGHT));
mir_tcsadd(pszTitle ,_T("\r\n\r\n"));
diff --git a/plugins/SendScreenshotPlus/src/global.h b/plugins/SendScreenshotPlus/src/global.h
index 48586f83d3..bd1efd0809 100644
--- a/plugins/SendScreenshotPlus/src/global.h
+++ b/plugins/SendScreenshotPlus/src/global.h
@@ -33,6 +33,8 @@ Last change by : $Author: ing.u.horn $
#ifndef _GLOBAL_H_
#define _GLOBAL_H_
+#define _CRT_SECURE_NO_WARNINGS
+
#define WINVER 0x0700
#define _WIN32_WINNT 0x0700
#define _WIN32_IE 0x0601
diff --git a/plugins/SendScreenshotPlus/src/resource.h b/plugins/SendScreenshotPlus/src/resource.h
index 6818f5b23f..c6f9742fe2 100644
--- a/plugins/SendScreenshotPlus/src/resource.h
+++ b/plugins/SendScreenshotPlus/src/resource.h
@@ -49,7 +49,6 @@
#define STATIC_LINE2 1103
#define ICO_DLGLOGO 1105
#define ICO_MSGDLG 1106
-#define IDC_BUILDTIME 1108
#define TXT_NAME 1114
#define TXT_MESSAGE 1126
#define ID_edtCaption 1201