summaryrefslogtreecommitdiff
path: root/plugins/HistoryStats/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-09-07 11:23:51 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-09-07 11:23:51 +0000
commitebf7ddda5fc7fa438a627a77f268f2f0d657619a (patch)
treeebd1385f4c6be84a4c84ac3d64d57daa382f490d /plugins/HistoryStats/src
parentb3b896c472bd802ace10eca85b8d6a7e55a36908 (diff)
compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@15291 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/HistoryStats/src')
-rw-r--r--plugins/HistoryStats/src/utils.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/HistoryStats/src/utils.h b/plugins/HistoryStats/src/utils.h
index db42e4c106..6351f8d97f 100644
--- a/plugins/HistoryStats/src/utils.h
+++ b/plugins/HistoryStats/src/utils.h
@@ -79,14 +79,12 @@ namespace utils
void generateGradient(COLORREF fromColor, COLORREF toColor, COLORREF colorTab[256]);
// drawing helpers
- inline POINT point(int x, int y) { POINT p = { x, y }; return p; }
-
struct rect
{
RECT r;
inline rect(int left, int top, int right, int bottom)
{
- r = { left, top, right, bottom };
+ r.left = left; r.top = top; r.right = right; r.bottom = bottom;
}
inline operator const RECT*() const { return &r; }