Minor formatting tweaks
This commit is contained in:
parent
d982376fc4
commit
d85c4da11b
3 changed files with 5 additions and 6 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue