From a9fdbcf07e59fc1fed7258469545b4e40e610e95 Mon Sep 17 00:00:00 2001 From: casey langen Date: Wed, 6 Mar 2019 19:13:54 -0800 Subject: [PATCH] Oops, let's compare instead of assign. --- src/musikcube/cursespp/Window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/musikcube/cursespp/Window.cpp b/src/musikcube/cursespp/Window.cpp index 613f61492..384f28ebe 100755 --- a/src/musikcube/cursespp/Window.cpp +++ b/src/musikcube/cursespp/Window.cpp @@ -819,7 +819,7 @@ void Window::Focus() { } void Window::Blur() { - if (::focused = this) { + if (::focused == this) { ::focused = nullptr; this->isDirty = true; this->OnFocusChanged(false);