From b18b771c33077a4b6b85fc766de5695919efd1aa Mon Sep 17 00:00:00 2001 From: Marco Antognini Date: Sat, 28 Apr 2012 22:05:10 +0200 Subject: [PATCH] Fixed typos --- src/SFML/Window/OSX/HIDInputManager.hpp | 2 +- src/SFML/Window/OSX/SFOpenGLView.mm | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/SFML/Window/OSX/HIDInputManager.hpp b/src/SFML/Window/OSX/HIDInputManager.hpp index 06a72c2b..fa2b7724 100644 --- a/src/SFML/Window/OSX/HIDInputManager.hpp +++ b/src/SFML/Window/OSX/HIDInputManager.hpp @@ -220,7 +220,7 @@ private : CFSetRef copyDevices(UInt32 page, UInt32 usage); //////////////////////////////////////////////////////////// - /// \brief Converte a HID key usage to its corresponding virtual code + /// \brief Convert a HID key usage to its corresponding virtual code /// /// See IOHIDUsageTables.h /// diff --git a/src/SFML/Window/OSX/SFOpenGLView.mm b/src/SFML/Window/OSX/SFOpenGLView.mm index 9a623c64..c1266bd0 100644 --- a/src/SFML/Window/OSX/SFOpenGLView.mm +++ b/src/SFML/Window/OSX/SFOpenGLView.mm @@ -86,7 +86,7 @@ NSUInteger keepOnlyMaskFromData(NSUInteger data, NSUInteger mask); -(void)initModifiersState; //////////////////////////////////////////////////////////// -/// Converte the NSEvent mouse button type to SFML type. +/// Convert the NSEvent mouse button type to SFML type. /// /// Returns ButtonCount if the button is unknown /// @@ -184,7 +184,7 @@ NSUInteger keepOnlyMaskFromData(NSUInteger data, NSUInteger mask); NSRect r = [self convertRect:NSMakeRect(x, y, 1, 1) toView:self]; r = [self convertRect:r toView:nil]; // nil means window - // Converte it to screen coordinates + // Convert it to screen coordinates r = [[self window] convertRectToScreen:r]; // Flip screen coodinates to match CGDisplayMoveCursorToPoint referential. @@ -203,7 +203,7 @@ NSUInteger keepOnlyMaskFromData(NSUInteger data, NSUInteger mask); NSPoint p = [self convertPoint:NSMakePoint(x, y) toView:self]; p = [self convertPoint:p toView:nil]; // nil means window - // Converte it to screen coordinates + // Convert it to screen coordinates p = [[self window] convertBaseToScreen:p]; // Flip screen coodinates to match CGDisplayMoveCursorToPoint referential.