Coding standards fix (braces on other line)

This commit is contained in:
Elias Daler 2018-03-31 17:55:36 +03:00 committed by Lukas Dürrenberger
parent c4f72fe8c2
commit 75e793218f

View file

@ -346,7 +346,8 @@ sf::Keyboard::Scancode keyCodeToSFScancode(KeyCode code)
KeyCode SFKeyToKeyCode(sf::Keyboard::Key key)
{
KeySym keysym = SFKeyToKeySym(key);
if (keysym != NoSymbol) {
if (keysym != NoSymbol)
{
Display* display = OpenDisplay();
KeyCode keycode = XKeysymToKeycode(display, keysym);
CloseDisplay(display);
@ -431,7 +432,8 @@ sf::String KeyboardImpl::getDescription(Keyboard::Scancode code)
code == sf::Keyboard::ScanTab ||
code == sf::Keyboard::ScanDelete ||
code == sf::Keyboard::ScanBackspace ||
code == sf::Keyboard::ScanSpace) {
code == sf::Keyboard::ScanSpace)
{
checkInput = false;
}