summaryrefslogtreecommitdiff
path: root/plugins/CSList/src/cslist.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-08-03 19:44:57 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-08-03 19:44:57 +0000
commit50eb80e6116dda8fb97da91146092328d0950622 (patch)
treee88d09c8a73fa12dc990bb6bb4fac89388cfa8b9 /plugins/CSList/src/cslist.cpp
parent85b303dbbb3adf8bd060985ff3e0e5956e8a5cb9 (diff)
removed the Unicode core verification
git-svn-id: http://svn.miranda-ng.org/main/trunk@1342 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/CSList/src/cslist.cpp')
-rw-r--r--plugins/CSList/src/cslist.cpp17
1 files changed, 5 insertions, 12 deletions
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( ))