summaryrefslogtreecommitdiff
path: root/protocols/Omegle/dialogs.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2012-05-24 12:22:48 +0000
committerRobert Pösel <robyer@seznam.cz>2012-05-24 12:22:48 +0000
commitf88316219ec39ef41880a2bd4bda8f22ae8dacc7 (patch)
tree7385872c7932e7981b2c73c42df4f3ccfc055712 /protocols/Omegle/dialogs.cpp
parent1a640e593f83b52cd66f33780c747e78ffa94c6e (diff)
Omegle update.
git-svn-id: http://svn.miranda-ng.org/main/trunk@161 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Omegle/dialogs.cpp')
-rw-r--r--protocols/Omegle/dialogs.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/Omegle/dialogs.cpp b/protocols/Omegle/dialogs.cpp
index c2c5db9dc1..e6a05d688e 100644
--- a/protocols/Omegle/dialogs.cpp
+++ b/protocols/Omegle/dialogs.cpp
@@ -48,7 +48,7 @@ static void LoadDBText(OmegleProto* ppro, HWND hwnd, int idCtrl, const char* szS
static void StoreDBText(OmegleProto* ppro, HWND hwnd, int idCtrl, const char* szSetting)
{
- TCHAR tstr[OMEGLE_MESSAGE_LIMIT+1];
+ TCHAR tstr[250+1];
GetDlgItemText(hwnd, idCtrl, tstr, sizeof(tstr));
if ( _tcsclen( tstr ) > 0 ) {
@@ -142,9 +142,9 @@ INT_PTR CALLBACK OmegleOptionsProc( HWND hwnd, UINT message, WPARAM wparam, LPAR
proto = reinterpret_cast<OmegleProto*>(lparam);
SetWindowLong(hwnd,GWLP_USERDATA,lparam);
- SendDlgItemMessage(hwnd,IDC_INTERESTS, EM_LIMITTEXT, 512, 0);
- SendDlgItemMessage(hwnd,IDC_HI_MESSAGE, EM_LIMITTEXT, OMEGLE_MESSAGE_LIMIT, 0);
- SendDlgItemMessage(hwnd,IDC_ASL_MESSAGE, EM_LIMITTEXT, OMEGLE_MESSAGE_LIMIT, 0);
+ SendDlgItemMessage(hwnd,IDC_INTERESTS, EM_LIMITTEXT, 250, 0);
+ SendDlgItemMessage(hwnd,IDC_HI_MESSAGE, EM_LIMITTEXT, 250, 0);
+ SendDlgItemMessage(hwnd,IDC_ASL_MESSAGE, EM_LIMITTEXT, 250, 0);
// Server
SendDlgItemMessageA(hwnd, IDC_SERVER, CB_INSERTSTRING, 0, reinterpret_cast<LPARAM>(Translate(servers[0])));