From 3856c86d711275b80e09371cad10b8b828a5879a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Thu, 25 Jul 2013 21:26:15 +0000 Subject: Facebook: Removed characters count from Mind dialog git-svn-id: http://svn.miranda-ng.org/main/trunk@5489 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/FacebookRM/src/dialogs.cpp | 4 ---- protocols/FacebookRM/src/resource.h | 2 -- 2 files changed, 6 deletions(-) (limited to 'protocols/FacebookRM/src') 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 -- cgit v1.2.3