mirror of https://github.com/odrling/Aegisub
Add parentheses to silence warning. (and for clarity)
Originally committed to SVN as r3458.
This commit is contained in:
parent
24c7ceb0ab
commit
a16c8ed838
|
@ -69,7 +69,7 @@ DialogDetachedVideo::DialogDetachedVideo(FrameMain *par, const wxSize &initialDi
|
|||
if (Options.AsBool(_T("Detached video maximized"))) Maximize();
|
||||
|
||||
// Set obscure stuff
|
||||
SetExtraStyle(GetExtraStyle() & (~wxWS_EX_BLOCK_EVENTS) | wxWS_EX_PROCESS_UI_UPDATES);
|
||||
SetExtraStyle((GetExtraStyle() & ~wxWS_EX_BLOCK_EVENTS) | wxWS_EX_PROCESS_UI_UPDATES);
|
||||
|
||||
// Set title
|
||||
wxFileName fn(VideoContext::Get()->videoName);
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue