aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2007-07-07 03:11:02 +0000
committernyamatongwe <devnull@localhost>2007-07-07 03:11:02 +0000
commit1e2b21b4105e62e1a08c38631162760a60c616de (patch)
treee74d73f110c305f114a190aad0459b8af1d3e2b3
parent3f2f73d410c84aa74ec109085e51e3338b6b532b (diff)
downloadscintilla-mirror-1e2b21b4105e62e1a08c38631162760a60c616de.tar.gz
Typo.
-rw-r--r--win32/PlatWin.cxx12
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;
}