Skip to content

Commit

Permalink
Merge pull request #866 from bwin/fix-typo
Browse files Browse the repository at this point in the history
fix typo in variable name
  • Loading branch information
zcbenz committed Nov 28, 2014
2 parents c5de8ea + bf85e61 commit d50a2b8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions atom/browser/api/atom_api_window.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ namespace {

struct PrintSettings {
bool silent;
bool print_backgournd;
bool print_background;
};

} // namespace
Expand All @@ -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;
}
};
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit d50a2b8

Please sign in to comment.