Merge pull request #866 from bwin/fix-typo

fix typo in variable name
This commit is contained in:
Cheng Zhao 2014-11-28 11:36:02 +08:00
commit d50a2b810d

View file

@ -19,7 +19,7 @@ namespace {
struct PrintSettings { struct PrintSettings {
bool silent; bool silent;
bool print_backgournd; bool print_background;
}; };
} // namespace } // namespace
@ -34,7 +34,7 @@ struct Converter<PrintSettings> {
if (!ConvertFromV8(isolate, val, &dict)) if (!ConvertFromV8(isolate, val, &dict))
return false; return false;
dict.Get("silent", &(out->silent)); dict.Get("silent", &(out->silent));
dict.Get("printBackground", &(out->print_backgournd)); dict.Get("printBackground", &(out->print_background));
return true; return true;
} }
}; };
@ -395,7 +395,7 @@ void Window::Print(mate::Arguments* args) {
return; return;
} }
window_->Print(settings.silent, settings.print_backgournd); window_->Print(settings.silent, settings.print_background);
} }
void Window::SetProgressBar(double progress) { void Window::SetProgressBar(double progress) {