mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
fix typo in variable name
This is just for the looks. No errors where throws, because the variable name was misspelled in all occurences.
This commit is contained in:
@@ -19,7 +19,7 @@ namespace {
|
||||
|
||||
struct PrintSettings {
|
||||
bool silent;
|
||||
bool print_backgournd;
|
||||
bool print_background;
|
||||
};
|
||||
|
||||
} // namespace
|
||||
@@ -34,7 +34,7 @@ struct Converter<PrintSettings> {
|
||||
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) {
|
||||
|
||||
Reference in New Issue
Block a user