Correct typo in variable name
This commit is contained in:
parent
0ff6b87f8c
commit
8e1de88512
1 changed files with 3 additions and 3 deletions
|
@ -40,9 +40,9 @@ struct Converter<atom::TrayIcon::HighlightMode> {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Support old boolean parameter
|
// Support old boolean parameter
|
||||||
bool hightlight;
|
bool highlight;
|
||||||
if (ConvertFromV8(isolate, val, &hightlight)) {
|
if (ConvertFromV8(isolate, val, &highlight)) {
|
||||||
if (hightlight)
|
if (highlight)
|
||||||
*out = atom::TrayIcon::HighlightMode::SELECTION;
|
*out = atom::TrayIcon::HighlightMode::SELECTION;
|
||||||
else
|
else
|
||||||
*out = atom::TrayIcon::HighlightMode::NEVER;
|
*out = atom::TrayIcon::HighlightMode::NEVER;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue