From 8e1de8851290ec6f9857a8a79917a4d03e2f1863 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 26 Jul 2016 14:17:41 -0700 Subject: [PATCH] Correct typo in variable name --- atom/browser/api/atom_api_tray.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/atom/browser/api/atom_api_tray.cc b/atom/browser/api/atom_api_tray.cc index 3b804972cb..aefe340a3b 100644 --- a/atom/browser/api/atom_api_tray.cc +++ b/atom/browser/api/atom_api_tray.cc @@ -40,9 +40,9 @@ struct Converter { } // 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;