projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3fe809
)
args should always be checked
author
Cheng Zhao
<zcbenz@gmail.com>
Fri, 3 Jun 2016 03:08:45 +0000
(12:08 +0900)
committer
Cheng Zhao
<zcbenz@gmail.com>
Fri, 3 Jun 2016 03:08:45 +0000
(12:08 +0900)
atom/browser/api/atom_api_app.cc
patch
|
blob
|
history
diff --git
a/atom/browser/api/atom_api_app.cc
b/atom/browser/api/atom_api_app.cc
index
76fbdb1
..
5d4aafc
100644
(file)
--- a/
atom/browser/api/atom_api_app.cc
+++ b/
atom/browser/api/atom_api_app.cc
@@
-418,7
+418,7
@@
bool App::Relaunch(mate::Arguments* js_args) {
mate::Dictionary options;
if (js_args->GetNext(&options)) {
- if (options.Get("execPath", &exec_path) |
|
options.Get("args", &args))
+ if (options.Get("execPath", &exec_path) | options.Get("args", &args))
override_argv = true;
}