clang-tidy
This commit is contained in:
@@ -187,7 +187,7 @@ void DefineButtons::checkEnd() {
|
||||
}
|
||||
}
|
||||
|
||||
bool DefineButtons::isReadyToClose() const {
|
||||
auto DefineButtons::isReadyToClose() const -> bool {
|
||||
// Solo está listo para cerrar si:
|
||||
// 1. Terminó
|
||||
// 2. Ya mostró el mensaje
|
||||
@@ -198,7 +198,7 @@ bool DefineButtons::isReadyToClose() const {
|
||||
}
|
||||
|
||||
void DefineButtons::updateWindowMessage() {
|
||||
if (!window_message_ || !options_gamepad_) {
|
||||
if (!window_message_ || (options_gamepad_ == nullptr)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user