[gnome-games] retro-input-manager: if else coding style fixup
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] retro-input-manager: if else coding style fixup
- Date: Tue, 4 Dec 2018 00:40:32 +0000 (UTC)
commit b606430b1e97cfa608d2488d0b3eb57d77ff4e40
Author: Yetizone <andreii lisita gmail com>
Date: Sun Dec 2 13:11:29 2018 +0200
retro-input-manager: if else coding style fixup
src/retro/retro-input-manager.vala | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/retro/retro-input-manager.vala b/src/retro/retro-input-manager.vala
index 3b17e131..9bb2c741 100644
--- a/src/retro/retro-input-manager.vala
+++ b/src/retro/retro-input-manager.vala
@@ -80,7 +80,8 @@ private class Games.RetroInputManager : Object {
if (input_mode == InputMode.GAMEPAD) {
controllers[core_view_joypad_port] = core_view_joypad;
core.set_controller (core_view_joypad_port, core_view_joypad);
- } else {
+ }
+ else {
controllers[core_view_joypad_port] = null;
core.set_controller (core_view_joypad_port, null);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]