You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Style: Apply clang-tidy's readability-braces-around-statements
This commit is contained in:
@@ -185,10 +185,11 @@ void JoypadLinux::monitor_joypads(udev *p_udev) {
|
||||
if (devnode) {
|
||||
String devnode_str = devnode;
|
||||
if (devnode_str.find(ignore_str) == -1) {
|
||||
if (action == "add")
|
||||
if (action == "add") {
|
||||
open_joypad(devnode);
|
||||
else if (String(action) == "remove")
|
||||
} else if (String(action) == "remove") {
|
||||
close_joypad(get_joy_from_path(devnode));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user