mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:17:45 +00:00
TextEditor: Add some missing curly braces around a nested if statement
This commit is contained in:
parent
e5ceabfbbb
commit
443775754f
1 changed files with 2 additions and 1 deletions
|
@ -70,9 +70,10 @@ int main(int argc, char** argv)
|
|||
text_widget.initialize_menubar(menubar);
|
||||
window->set_menubar(menubar);
|
||||
|
||||
if (file_to_edit)
|
||||
if (file_to_edit) {
|
||||
if (!text_widget.open_file(file_to_edit))
|
||||
return 1;
|
||||
}
|
||||
|
||||
text_widget.update_title();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue