diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-04 21:30:30 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-04 21:30:30 +0000 |
commit | 7de513f180c429859e246d1033d745b394e1fc28 (patch) | |
tree | 2072d382f58ab05ef5a2406d5df866d942689c67 /plugins | |
parent | 625d0a8916327ffe942fc8683291c6355e814963 (diff) |
fix for a buffer overrun in GTalk
git-svn-id: http://svn.miranda-ng.org/main/trunk@14001 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Clist_modern/src/modern_statusbar.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/Clist_modern/src/modern_statusbar.cpp b/plugins/Clist_modern/src/modern_statusbar.cpp index a282791ae2..fcd2fc2bf0 100644 --- a/plugins/Clist_modern/src/modern_statusbar.cpp +++ b/plugins/Clist_modern/src/modern_statusbar.cpp @@ -23,8 +23,7 @@ COLORREF sttGetColor(char * module, char * color, COLORREF defColor); struct ProtoItemData : public MZeroedObject
{
~ProtoItemData()
- {
- }
+ {}
HICON icon;
HICON extraIcon;
@@ -754,7 +753,7 @@ LRESULT CALLBACK ModernStatusProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lPa tooltipshoing = FALSE;
for (int i = 0; i < ProtosData.getCount(); i++) {
- ProtoItemData& p = ProtosData[i];
+ ProtoItemData &p = ProtosData[i];
bool isOnExtra = false;
rc = p.protoRect;
|