summaryrefslogtreecommitdiff
path: root/plugins/SpellChecker/src/ardialog.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-12-02 19:55:35 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-12-02 19:55:35 +0000
commit839847588d79b53441c55438eb028bd2966fb088 (patch)
tree5c32e2fc58177476b74a20066c2c302dcd0f265b /plugins/SpellChecker/src/ardialog.cpp
parent2686f1005c9a2055a41486946e5722cf182a97b6 (diff)
forgotten flags in options
git-svn-id: http://svn.miranda-ng.org/main/trunk@2609 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SpellChecker/src/ardialog.cpp')
-rw-r--r--plugins/SpellChecker/src/ardialog.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/SpellChecker/src/ardialog.cpp b/plugins/SpellChecker/src/ardialog.cpp
index 507f74329b..409ba5a6f1 100644
--- a/plugins/SpellChecker/src/ardialog.cpp
+++ b/plugins/SpellChecker/src/ardialog.cpp
@@ -144,10 +144,10 @@ static BOOL CenterParent(HWND hwnd)
int screenwidth = GetSystemMetrics(SM_CXSCREEN);
int screenheight = GetSystemMetrics(SM_CYSCREEN);
- if(x + width > screenwidth) x = screenwidth - width;
- if(y + height > screenheight) y = screenheight - height;
- if(x < 0) x = 0;
- if(y < 0) y = 0;
+ if (x + width > screenwidth) x = screenwidth - width;
+ if (y + height > screenheight) y = screenheight - height;
+ if (x < 0) x = 0;
+ if (y < 0) y = 0;
MoveWindow(hwnd, x, y, width, height, FALSE);