From 4aa6975a8dc6025ebcc3876733d3c596755b218e Mon Sep 17 00:00:00 2001 From: Amar Takhar Date: Wed, 2 Sep 2009 10:04:36 +0000 Subject: [PATCH] Whoops, I mis-placed the parentheses in r3458. Originally committed to SVN as r3468. --- aegisub/src/idle_field_event.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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