1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 06:47:35 +00:00

LibGUI: Remove unnecessary curly braces

Not needed for the commit, but I always try to leave the code nicer
than I found it. :)
This commit is contained in:
thislooksfun 2021-10-25 20:24:26 -05:00 committed by Andreas Kling
parent 416988cc7f
commit 989c111d65

View file

@ -186,9 +186,8 @@ void GMLAutocompleteProvider::provide_completions(Function<void(Vector<Entry>)>
break;
}
case AfterIdentifier:
if (last_seen_token && last_seen_token->m_end.line != cursor.line()) {
if (last_seen_token && last_seen_token->m_end.line != cursor.line())
break;
}
if (identifier_string == "layout") {
Core::ObjectClassRegistration::for_each([&](const Core::ObjectClassRegistration& registration) {
if (!registration.is_derived_from(widget_class))