mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
Meta+AK: Make clang-format-10 clean
This commit is contained in:
committed by
Andreas Kling
parent
468a29f4a1
commit
8940bc3503
@@ -92,10 +92,10 @@ void LexicalPath::canonicalize()
|
||||
|
||||
Optional<size_t> last_dot = StringView(m_basename).find_last_of('.');
|
||||
if (last_dot.has_value()) {
|
||||
m_title = m_basename.substring(0, last_dot.value());
|
||||
m_extension = m_basename.substring(last_dot.value() + 1, m_basename.length() - last_dot.value() - 1);
|
||||
m_title = m_basename.substring(0, last_dot.value());
|
||||
m_extension = m_basename.substring(last_dot.value() + 1, m_basename.length() - last_dot.value() - 1);
|
||||
} else {
|
||||
m_title = m_basename;
|
||||
m_title = m_basename;
|
||||
}
|
||||
|
||||
StringBuilder builder(approximate_canonical_length);
|
||||
|
||||
Reference in New Issue
Block a user