Add parentheses to silence warning. (and for clarity)
Originally committed to SVN as r3458.
This commit is contained in:
parent
24c7ceb0ab
commit
a16c8ed838
2 changed files with 2 additions and 2 deletions
|
@ -69,7 +69,7 @@ DialogDetachedVideo::DialogDetachedVideo(FrameMain *par, const wxSize &initialDi
|
||||||
if (Options.AsBool(_T("Detached video maximized"))) Maximize();
|
if (Options.AsBool(_T("Detached video maximized"))) Maximize();
|
||||||
|
|
||||||
// Set obscure stuff
|
// 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
|
// Set title
|
||||||
wxFileName fn(VideoContext::Get()->videoName);
|
wxFileName fn(VideoContext::Get()->videoName);
|
||||||
|
|
|
@ -137,7 +137,7 @@ void IdleFieldHandler::SetFocus() {
|
||||||
///
|
///
|
||||||
void IdleFieldHandler::KillFocus() {
|
void IdleFieldHandler::KillFocus() {
|
||||||
bool modify = false;
|
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) {
|
if (modify) {
|
||||||
// Prepare
|
// Prepare
|
||||||
|
|
Loading…
Reference in a new issue