diff options
author | Andreas Kling <kling@serenityos.org> | 2021-05-01 18:45:20 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-05-01 19:42:29 +0200 |
commit | 443775754f89230d2eead0e629b7af4346b724fc (patch) | |
tree | 945fd636afab1eb93321ff40ab3e90640868929a /Userland | |
parent | e5ceabfbbb0df2d2452746815647875b9c2419bc (diff) | |
download | serenity-443775754f89230d2eead0e629b7af4346b724fc.zip |
TextEditor: Add some missing curly braces around a nested if statement
Diffstat (limited to 'Userland')
-rw-r--r-- | Userland/Applications/TextEditor/main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Userland/Applications/TextEditor/main.cpp b/Userland/Applications/TextEditor/main.cpp index eaf23e8a57..6451c53912 100644 --- a/Userland/Applications/TextEditor/main.cpp +++ b/Userland/Applications/TextEditor/main.cpp @@ -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(); |