diff --git a/aegisub/src/idle_field_event.cpp b/aegisub/src/idle_field_event.cpp index 9c697a8bf..d7f303cf6 100644 --- a/aegisub/src/idle_field_event.cpp +++ b/aegisub/src/idle_field_event.cpp @@ -137,7 +137,7 @@ void IdleFieldHandler::SetFocus() { /// void IdleFieldHandler::KillFocus() { bool modify = false; - if (text && (text->GetValue().IsEmpty() || box) && box->GetValue().IsEmpty()) modify = true; + if ((text && text->GetValue().IsEmpty()) || (box && box->GetValue().IsEmpty())) modify = true; if (modify) { // Prepare