summaryrefslogtreecommitdiff
path: root/plugins/CSList/src/cslist.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CSList/src/cslist.h')
-rw-r--r--plugins/CSList/src/cslist.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/plugins/CSList/src/cslist.h b/plugins/CSList/src/cslist.h
index c38859fdd9..ec2e533771 100644
--- a/plugins/CSList/src/cslist.h
+++ b/plugins/CSList/src/cslist.h
@@ -556,10 +556,7 @@ struct CSWindow
{
if ( getByte( "RememberWindowPosition", DEFAULT_REMEMBER_WINDOW_POSITION ) == TRUE )
{
- RECT rect = { 0 };
- GetWindowRect( hwnd, &rect );
- setWord( "PositionX", rect.left );
- setWord( "PositionY", rect.top );
+ Utils_SaveWindowPosition(hwnd,NULL,__INTERNAL_NAME,"Position");
}
}
};
@@ -570,8 +567,6 @@ struct CSList
// global variables
static HINSTANCE handle;
static DWORD dwMirandaVersion;
- static BOOL bUnicodeCore;
- static BOOL bAccountsSupported;
// class components
CSWindow* mainWindow;
@@ -614,8 +609,6 @@ struct CSList
HINSTANCE CSList::handle = NULL;
DWORD CSList::dwMirandaVersion = 0x00000000;
-BOOL CSList::bUnicodeCore = FALSE;
-BOOL CSList::bAccountsSupported = FALSE;
// ====[ GLOBALS ]============================================================