Minor formatting tweaks

This commit is contained in:
Kevin Sawicki 2016-10-26 09:55:34 +09:00
parent d982376fc4
commit d85c4da11b
3 changed files with 5 additions and 6 deletions

View file

@ -731,9 +731,8 @@ void Window::SetAspectRatio(double aspect_ratio, mate::Arguments* args) {
void Window::PreviewFile(const std::string& path, mate::Arguments* args) {
std::string display_name;
if (!args->GetNext(&display_name)) {
if (!args->GetNext(&display_name))
display_name = path;
}
window_->PreviewFile(path, display_name);
}