mirror of
https://github.com/electron/electron.git
synced 2026-01-24 14:57:58 -05:00
Changing the Logical Or to Bitwise Or to change from Either to Either Or Both values
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user