summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-04 21:30:30 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-04 21:30:30 +0000
commit7de513f180c429859e246d1033d745b394e1fc28 (patch)
tree2072d382f58ab05ef5a2406d5df866d942689c67 /plugins
parent625d0a8916327ffe942fc8683291c6355e814963 (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.cpp5
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;