summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2013-07-25 21:26:15 +0000
committerRobert Pösel <robyer@seznam.cz>2013-07-25 21:26:15 +0000
commit3856c86d711275b80e09371cad10b8b828a5879a (patch)
treedaabf8b97bf82547558563ed36e43722c84ec6a6 /protocols/FacebookRM
parentcae173e53eb38367866bb44572e9431492628338 (diff)
Facebook: Removed characters count from Mind dialog
git-svn-id: http://svn.miranda-ng.org/main/trunk@5489 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM')
-rw-r--r--protocols/FacebookRM/res/facebook.rc1
-rw-r--r--protocols/FacebookRM/src/dialogs.cpp4
-rw-r--r--protocols/FacebookRM/src/resource.h2
3 files changed, 0 insertions, 7 deletions
diff --git a/protocols/FacebookRM/res/facebook.rc b/protocols/FacebookRM/res/facebook.rc
index 14868ab324..54d56816bd 100644
--- a/protocols/FacebookRM/res/facebook.rc
+++ b/protocols/FacebookRM/res/facebook.rc
@@ -84,7 +84,6 @@ FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
LTEXT "Text:",IDC_STATIC,4,6,44,8,0,WS_EX_RIGHT
EDITTEXT IDC_MINDMSG,53,4,210,36,ES_MULTILINE | ES_AUTOVSCROLL | ES_WANTRETURN | WS_VSCROLL
- LTEXT "420",IDC_CHARACTERS,4,30,43,10,0,WS_EX_RIGHT
LTEXT "Place:",IDC_STATIC,4,46,44,8,0,WS_EX_RIGHT
EDITTEXT IDC_PLACE,53,43,210,14,ES_AUTOHSCROLL
LTEXT "Visibility:",IDC_STATIC,4,62,44,8,0,WS_EX_RIGHT
diff --git a/protocols/FacebookRM/src/dialogs.cpp b/protocols/FacebookRM/src/dialogs.cpp
index a0b7e0a066..2aec1f4595 100644
--- a/protocols/FacebookRM/src/dialogs.cpp
+++ b/protocols/FacebookRM/src/dialogs.cpp
@@ -153,10 +153,6 @@ INT_PTR CALLBACK FBMindProc(HWND hwnd, UINT message, WPARAM wparam, LPARAM lpara
if (LOWORD(wparam) == IDC_MINDMSG && HIWORD(wparam) == EN_CHANGE)
{
size_t len = SendDlgItemMessage(hwnd,IDC_MINDMSG,WM_GETTEXTLENGTH,0,0);
- TCHAR str[4];
- _sntprintf(str, 4, TEXT("%d"), FACEBOOK_MIND_LIMIT-len);
- SetDlgItemText(hwnd,IDC_CHARACTERS,str);
-
EnableWindow(GetDlgItem(hwnd, IDOK), len > 0);
return TRUE;
diff --git a/protocols/FacebookRM/src/resource.h b/protocols/FacebookRM/src/resource.h
index b483a19aaf..6c7a59d2dc 100644
--- a/protocols/FacebookRM/src/resource.h
+++ b/protocols/FacebookRM/src/resource.h
@@ -17,7 +17,6 @@
#define IDC_PW 1002
#define IDC_NEWACCOUNTLINK 1003
#define IDC_MINDMSG 1012
-#define IDC_CHARACTERS 1013
#define IDC_GROUP 1021
#define IDC_SECURE 1024
#define IDC_SET_IGNORE_STATUS 1025
@@ -29,7 +28,6 @@
#define IDC_LOAD_MOBILE 1033
#define IDC_CUSTOM_SMILEYS 1034
#define IDC_USE_LOCAL_TIME 1035
-#define IDC_SEND_SEEN 1036
#define IDC_NOTIFICATIONS_ENABLE 1041
#define IDC_FEEDS_ENABLE 1042
#define IDC_OTHER_ENABLE 1043