Fixed typos

This commit is contained in:
Marco Antognini 2012-04-28 22:05:10 +02:00
parent cc4a5e2d48
commit b18b771c33
2 changed files with 4 additions and 4 deletions

View File

@ -220,7 +220,7 @@ private :
CFSetRef copyDevices(UInt32 page, UInt32 usage); 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 /// See IOHIDUsageTables.h
/// ///

View File

@ -86,7 +86,7 @@ NSUInteger keepOnlyMaskFromData(NSUInteger data, NSUInteger mask);
-(void)initModifiersState; -(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 /// 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]; NSRect r = [self convertRect:NSMakeRect(x, y, 1, 1) toView:self];
r = [self convertRect:r toView:nil]; // nil means window r = [self convertRect:r toView:nil]; // nil means window
// Converte it to screen coordinates // Convert it to screen coordinates
r = [[self window] convertRectToScreen:r]; r = [[self window] convertRectToScreen:r];
// Flip screen coodinates to match CGDisplayMoveCursorToPoint referential. // 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]; NSPoint p = [self convertPoint:NSMakePoint(x, y) toView:self];
p = [self convertPoint:p toView:nil]; // nil means window p = [self convertPoint:p toView:nil]; // nil means window
// Converte it to screen coordinates // Convert it to screen coordinates
p = [[self window] convertBaseToScreen:p]; p = [[self window] convertBaseToScreen:p];
// Flip screen coodinates to match CGDisplayMoveCursorToPoint referential. // Flip screen coodinates to match CGDisplayMoveCursorToPoint referential.