commit 9f345cc01ddfc80f93b573dc0e4c40bc94127e83 parent 46a8b9b2d0bd75e90f6cff35cc0bcc688deafd26 Author: cfillion <cfillion@users.noreply.github.com> Date: Mon, 27 Feb 2017 14:21:47 -0800 dialog: fix windows build (broken since linux merge) Diffstat:
M | src/dialog.cpp | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/dialog.cpp b/src/dialog.cpp @@ -188,7 +188,7 @@ void Dialog::setVisible(const bool visible, HWND handle) bool Dialog::isVisible() const { - return IsWindowVisible(m_handle); + return IsWindowVisible(m_handle) != 0; } void Dialog::close(const INT_PTR result)