diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-15 14:33:02 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-15 14:33:02 +0000 |
commit | 8226233ab6fc3b5dd8f7effa832f1be93c20f299 (patch) | |
tree | 640ba33b4a19b42be3f2a86fec80950b5ffb958e /src/mir_app | |
parent | 3f9882178018afbe9aaaba1f4461f3fc75493260 (diff) |
grrrrm
git-svn-id: http://svn.miranda-ng.org/main/trunk@14177 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/mir_app')
-rw-r--r-- | src/mir_app/src/miranda.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mir_app/src/miranda.cpp b/src/mir_app/src/miranda.cpp index 4bd366be54..a76fc46adc 100644 --- a/src/mir_app/src/miranda.cpp +++ b/src/mir_app/src/miranda.cpp @@ -60,10 +60,10 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD dwReason, LPVOID) {
if (dwReason == DLL_PROCESS_ATTACH) {
g_hInst = hinstDLL;
- g_iIconX = g_iIconX;
- g_iIconY = g_iIconY;
- g_iIconSX = g_iIconSX;
- g_iIconSY = g_iIconSY;
+ g_iIconX = GetSystemMetrics(SM_CXICON);
+ g_iIconY = GetSystemMetrics(SM_CYICON);
+ g_iIconSX = GetSystemMetrics(SM_CXSMICON);
+ g_iIconSY = GetSystemMetrics(SM_CYSMICON);
}
return TRUE;
}
|