From: Benjamin Winkler Date: Tue, 25 Nov 2014 19:57:55 +0000 (+0100) Subject: fix typo in variable name X-Git-Tag: v0.19.5~8^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=bf85e61dc2d722c685ac79318c60f5fbd81f9dd5;p=electron.git fix typo in variable name This is just for the looks. No errors where throws, because the variable name was misspelled in all occurences. --- diff --git a/atom/browser/api/atom_api_window.cc b/atom/browser/api/atom_api_window.cc index b65bcbcb..615adb51 100644 --- a/atom/browser/api/atom_api_window.cc +++ b/atom/browser/api/atom_api_window.cc @@ -19,7 +19,7 @@ namespace { struct PrintSettings { bool silent; - bool print_backgournd; + bool print_background; }; } // namespace @@ -34,7 +34,7 @@ struct Converter { if (!ConvertFromV8(isolate, val, &dict)) return false; dict.Get("silent", &(out->silent)); - dict.Get("printBackground", &(out->print_backgournd)); + dict.Get("printBackground", &(out->print_background)); return true; } }; @@ -395,7 +395,7 @@ void Window::Print(mate::Arguments* args) { return; } - window_->Print(settings.silent, settings.print_backgournd); + window_->Print(settings.silent, settings.print_background); } void Window::SetProgressBar(double progress) {