Correct typo in variable name

This commit is contained in:
Kevin Sawicki 2016-07-26 14:17:41 -07:00
parent 0ff6b87f8c
commit 8e1de88512

View file

@ -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;