summaryrefslogtreecommitdiff
path: root/plugins/SpellChecker/src/ardialog.cpp
diff options
context:
space:
mode:
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);