diff options
author | nyamatongwe <unknown> | 2007-07-07 03:11:02 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2007-07-07 03:11:02 +0000 |
commit | 09d756d1bb12af66799e92298894e8d36d359e79 (patch) | |
tree | e74d73f110c305f114a190aad0459b8af1d3e2b3 | |
parent | f6a09392bbf959d95cd112b9ce1378a0f952776f (diff) | |
download | scintilla-mirror-09d756d1bb12af66799e92298894e8d36d359e79.tar.gz |
Typo.
-rw-r--r-- | win32/PlatWin.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx index 948e5e655..e8b142f6a 100644 --- a/win32/PlatWin.cxx +++ b/win32/PlatWin.cxx @@ -1052,12 +1052,12 @@ void Window::SetTitle(const char *s) { ::SetWindowTextA(reinterpret_cast<HWND>(id), s); } -/* Returns rectangle of monitor pt is on, both rect and pt are in Window's +/* Returns rectangle of monitor pt is on, both rect and pt are in Window's coordinates */ #ifdef MULTIPLE_MONITOR_SUPPORT PRectangle Window::GetMonitorRect(Point pt) { - // MonitorFromPoint and GetMonitorInfoare not available on Windows 95 so are not used. - // There could be conditional code and dynamic loading in a future version + // MonitorFromPoint and GetMonitorInfo are not available on Windows 95 so are not used. + // There could be conditional code and dynamic loading in a future version // so this would work on those platforms where they are available. PRectangle rcPosition = GetPosition(); POINT ptDesktop = {pt.x + rcPosition.left, pt.y + rcPosition.top}; @@ -1067,9 +1067,9 @@ PRectangle Window::GetMonitorRect(Point pt) { mi.cbSize = sizeof(mi); if (::GetMonitorInfo(hMonitor, &mi)) { PRectangle rcMonitor( - mi.rcWork.left - rcPosition.left, - mi.rcWork.top - rcPosition.top, - mi.rcWork.right - rcPosition.left, + mi.rcWork.left - rcPosition.left, + mi.rcWork.top - rcPosition.top, + mi.rcWork.right - rcPosition.left, mi.rcWork.bottom - rcPosition.top); return rcMonitor; } |