From 50eb80e6116dda8fb97da91146092328d0950622 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 3 Aug 2012 19:44:57 +0000 Subject: removed the Unicode core verification git-svn-id: http://svn.miranda-ng.org/main/trunk@1342 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/CSList/src/cslist.cpp | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) (limited to 'plugins/CSList/src') diff --git a/plugins/CSList/src/cslist.cpp b/plugins/CSList/src/cslist.cpp index b8078ae1be..f4ff862e9c 100644 --- a/plugins/CSList/src/cslist.cpp +++ b/plugins/CSList/src/cslist.cpp @@ -29,7 +29,7 @@ Last change on : $Date$ Last change by : $Author$ - ============================================================================ + ============================================================================ DESCRIPTION: @@ -98,14 +98,7 @@ extern "C" __declspec( dllexport ) int Load( ) CSList::bAccountsSupported = ( CSList::dwMirandaVersion >= PLUGIN_MAKE_VERSION( 0, 8, 0, 9 )); // are we running under Unicode core? - { - char szVer[MAX_PATH]; - - CallService( MS_SYSTEM_GETVERSIONTEXT, MAX_PATH, ( LPARAM )szVer ); - _strlwr( szVer ); // make sure it is lowercase - - CSList::bUnicodeCore = ( strstr( szVer, "unicode" ) != NULL ); - } + CSList::bUnicodeCore = true; // TODO: Alerts with wrong combination of ANSI/Unicode Windows/core/plugin @@ -682,7 +675,7 @@ CSAMWindow::CSAMWindow( WORD action, CSWindow* parent ) this->parent = parent; this->bChanged = FALSE; this->hCombo = this->hMessage = NULL; - + if ( this->action == IDC_ADD ) this->item = new StatusItem( ); else @@ -1185,8 +1178,8 @@ INT_PTR CALLBACK CSWindowProc( HWND hwnd, UINT message, WPARAM wparam, LPARAM lp csw->listview->reinitItems( csw->itemslist->list->getListHead( )); break; - case IDCLOSE: // close and save, no custom status - case IDCANCEL: // close and save, no custom status + case IDCLOSE: // close and save, no custom status + case IDCANCEL: // close and save, no custom status case IDC_CANCEL: // close and save, cancel custom status case IDOK: // close and save, set selected custom status if ( LOWORD( wparam ) == IDOK && csw->toggleButtons( )) -- cgit v1.2.3