From 24c7ceb0abd6712d734262c9d6d85042aa8d8385 Mon Sep 17 00:00:00 2001 From: Amar Takhar Date: Wed, 2 Sep 2009 08:21:09 +0000 Subject: [PATCH] Add parentheses to silence warning. (and for clarity) Originally committed to SVN as r3457. --- aegisub/src/dialog_automation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aegisub/src/dialog_automation.cpp b/aegisub/src/dialog_automation.cpp index 77a17ce15..be86eb015 100644 --- a/aegisub/src/dialog_automation.cpp +++ b/aegisub/src/dialog_automation.cpp @@ -100,7 +100,7 @@ DialogAutomation::DialogAutomation(wxWindow *parent, Automation4::ScriptManager // main layout wxSizer *main_box = new wxBoxSizer(wxVERTICAL); main_box->Add(list, 1, wxEXPAND|wxALL, 5); - main_box->Add(button_box, 0, wxEXPAND|wxALL&~wxTOP, 5); + main_box->Add(button_box, 0, wxEXPAND|(wxALL&~wxTOP), 5); main_box->SetSizeHints(this); SetSizer(main_box); Center();