diff --git a/atom/browser/native_window.cc b/atom/browser/native_window.cc index 94d308b355f..d3fed614547 100644 --- a/atom/browser/native_window.cc +++ b/atom/browser/native_window.cc @@ -145,7 +145,7 @@ void NativeWindow::InitFromOptions(const mate::Dictionary& options) { Center(); } int min_height = 0, min_width = 0; - if (options.Get(switches::kMinHeight, &min_height) || + if (options.Get(switches::kMinHeight, &min_height) | options.Get(switches::kMinWidth, &min_width)) { SetMinimumSize(gfx::Size(min_width, min_height)); }