Remove trailing whitespace

This commit is contained in:
Chris Thrasher 2022-06-23 17:09:22 -06:00 committed by Vittorio Romeo
parent 8a2aa6397f
commit 0812054e02
6 changed files with 6 additions and 7 deletions

View File

@ -79,7 +79,7 @@ set (CMAKE_C_OSX_CURRENT_VERSION_FLAG "-current_version ")
set (CMAKE_CXX_OSX_COMPATIBILITY_VERSION_FLAG "${CMAKE_C_OSX_COMPATIBILITY_VERSION_FLAG}")
set (CMAKE_CXX_OSX_CURRENT_VERSION_FLAG "${CMAKE_C_OSX_CURRENT_VERSION_FLAG}")
# Hidden visibilty is required for cxx on iOS
# Hidden visibilty is required for cxx on iOS
set (CMAKE_C_FLAGS_INIT "")
set (CMAKE_CXX_FLAGS_INIT "-fvisibility=hidden -fvisibility-inlines-hidden")
@ -143,7 +143,7 @@ set (IOS_SDK_ROOT ${IOS_SDK_ROOT} CACHE PATH "Location of the selected iOS SDK")
# Set the sysroot default to the most recent SDK
set (CMAKE_OSX_SYSROOT ${IOS_SDK_ROOT} CACHE PATH "Sysroot used for iOS support")
# set the architecture for iOS
# set the architecture for iOS
if (${IOS_PLATFORM} STREQUAL OS)
set (OSX_UNIVERSAL true)
set (IOS_ARCH arm64)

View File

@ -1,7 +1,6 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
jcenter()

View File

@ -282,7 +282,7 @@ int main()
// Make the window the active window for OpenGL calls
if (!window.setActive(true))
{
// On failure, try re-creating the window, as it is intentionally
// On failure, try re-creating the window, as it is intentionally
// closed when changing color space.
continue;
}

View File

@ -108,7 +108,7 @@ bool CursorImpl::loadFromSystem(Cursor::Type type)
case Cursor::SizeRight: newCursor = [NSCursor resizeLeftRightCursor]; break;
case Cursor::SizeTop: newCursor = [NSCursor resizeUpDownCursor]; break;
case Cursor::SizeBottom: newCursor = [NSCursor resizeUpDownCursor]; break;
// These cursor types are undocumented, may not be available on some platforms
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wundeclared-selector"

View File

@ -54,7 +54,7 @@
m_cursor = cursor;
// indirect call to resetCursorRects to set the cursor
[self.window invalidateCursorRectsForView:self];
[self.window invalidateCursorRectsForView:self];
}

View File

@ -75,6 +75,6 @@ TEST_CASE("sf::RenderStates class - [graphics]")
CHECK(sf::RenderStates::Default.blendMode == sf::BlendMode());
CHECK(sf::RenderStates::Default.transform == sf::Transform());
CHECK(sf::RenderStates::Default.texture == nullptr);
CHECK(sf::RenderStates::Default.shader == nullptr);
CHECK(sf::RenderStates::Default.shader == nullptr);
}
}