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
|
||||
bool hightlight;
|
||||
if (ConvertFromV8(isolate, val, &hightlight)) {
|
||||
if (hightlight)
|
||||
bool highlight;
|
||||
if (ConvertFromV8(isolate, val, &highlight)) {
|
||||
if (highlight)
|
||||
*out = atom::TrayIcon::HighlightMode::SELECTION;
|
||||
else
|
||||
*out = atom::TrayIcon::HighlightMode::NEVER;
|
||||
|
|
Loading…
Reference in a new issue