diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2015-04-06 19:12:09 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2015-04-06 19:12:09 +0000 |
commit | 30b23a3b901afcdc2a834ae7d4858babc78013b5 (patch) | |
tree | 45688ead9c7b812c82bcb36058e0141a486b8490 /plugins/MyDetails/src/frame.cpp | |
parent | ec6bdb06f02e0a6ecd7ee84e84c8c70ac42ae7de (diff) |
MyDetails: Minor fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@12640 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MyDetails/src/frame.cpp')
-rw-r--r-- | plugins/MyDetails/src/frame.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/MyDetails/src/frame.cpp b/plugins/MyDetails/src/frame.cpp index e592404583..a72b2148ad 100644 --- a/plugins/MyDetails/src/frame.cpp +++ b/plugins/MyDetails/src/frame.cpp @@ -672,8 +672,6 @@ void CalcRectangles(HWND hwnd) LONG height;
if (opts.draw_avatar_custom_size) {
- rc.right = opts.draw_avatar_custom_size_pixels;
-
width = opts.draw_avatar_custom_size_pixels;
height = opts.draw_avatar_custom_size_pixels;
}
@@ -2131,9 +2129,10 @@ LRESULT CALLBACK FrameWindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lPar case WM_DESTROY:
KillTimer(hwnd, ID_FRAME_TIMER);
- DeleteTooltipWindows(data);
- if (data != NULL)
+ if (data != NULL) {
+ DeleteTooltipWindows(data);
delete data;
+ }
break;
// Custom Messages //////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|