From c24374f99c22d9420d6d182ff835f07a5b954b48 Mon Sep 17 00:00:00 2001 From: planetmaker Date: Tue, 8 Jan 2013 22:46:42 +0000 Subject: (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) --- src/video/cocoa/cocoa_v.h | 4 ++-- src/video/cocoa/fullscreen.mm | 2 +- src/video/cocoa/wnd_quickdraw.mm | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/video/cocoa') diff --git a/src/video/cocoa/cocoa_v.h b/src/video/cocoa/cocoa_v.h index a27b3c204..9f7f55c7c 100644 --- a/src/video/cocoa/cocoa_v.h +++ b/src/video/cocoa/cocoa_v.h @@ -134,7 +134,7 @@ public: virtual bool IsFullscreen() = 0; /** Toggle between fullscreen and windowed mode - * @return whether switch was successfull + * @return whether switch was successful */ virtual bool ToggleFullscreen() { return false; }; @@ -180,7 +180,7 @@ public: virtual void SetPortAlphaOpaque() { return; }; /** Whether the window was successfully resized - * @return whether the window was succesfully resized + * @return whether the window was successfully resized */ virtual bool WindowResized() { return false; }; }; diff --git a/src/video/cocoa/fullscreen.mm b/src/video/cocoa/fullscreen.mm index c8148edfc..86de2cdc9 100644 --- a/src/video/cocoa/fullscreen.mm +++ b/src/video/cocoa/fullscreen.mm @@ -357,7 +357,7 @@ class FullscreenSubdriver: public CocoaSubdriver { this->UpdatePalette(0, 256); - /* Move the mouse cursor to approx the same location */ + /* Move the mouse cursor to approx. the same location */ CGPoint display_mouseLocation; display_mouseLocation.x = mouseLocation.x * this->device_width; display_mouseLocation.y = this->device_height - (mouseLocation.y * this->device_height); diff --git a/src/video/cocoa/wnd_quickdraw.mm b/src/video/cocoa/wnd_quickdraw.mm index 97dfac7d5..17ac21c46 100644 --- a/src/video/cocoa/wnd_quickdraw.mm +++ b/src/video/cocoa/wnd_quickdraw.mm @@ -158,7 +158,7 @@ bool WindowQuickdrawSubdriver::SetVideoMode(int width, int height, int bpp) this->GetDeviceInfo(); if (bpp > this->device_depth) { - DEBUG(driver, 0, "Cannot use a blitter with a higer screen depth than the display when running in windowed mode."); + DEBUG(driver, 0, "Cannot use a blitter with a higher screen depth than the display when running in windowed mode."); this->setup = false; return false; } -- cgit v1.2.3-54-g00ecf