From 839847588d79b53441c55438eb028bd2966fb088 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 2 Dec 2012 19:55:35 +0000 Subject: forgotten flags in options git-svn-id: http://svn.miranda-ng.org/main/trunk@2609 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SpellChecker/src/ardialog.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/SpellChecker/src/ardialog.cpp') 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); -- cgit v1.2.3