mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 01:20:25 +00:00
SoundPlayer: Fix a spelling mistake in a variable name
This commit is contained in:
parent
37543234ce
commit
e01cc39eed
Notes:
sideshowbarker
2024-07-18 08:45:30 +09:00
Author: https://github.com/gunnarbeutner Commit: https://github.com/SerenityOS/serenity/commit/e01cc39eed2 Pull-request: https://github.com/SerenityOS/serenity/pull/8880
1 changed files with 3 additions and 3 deletions
|
@ -48,20 +48,20 @@ NonnullOwnPtr<Vector<M3UEntry>> M3UParser::parse(bool include_extended_info)
|
|||
{
|
||||
auto vec = make<Vector<M3UEntry>>();
|
||||
|
||||
bool has_exteded_info_tag = false;
|
||||
bool has_extended_info_tag = false;
|
||||
if (!m_use_utf8) {
|
||||
auto lines = m_m3u_raw_data.split_view('\n');
|
||||
|
||||
if (include_extended_info) {
|
||||
if (lines[0] == "#EXTM3U")
|
||||
has_exteded_info_tag = true;
|
||||
has_extended_info_tag = true;
|
||||
}
|
||||
|
||||
M3UExtendedInfo metadata_for_next_file {};
|
||||
for (auto& line : lines) {
|
||||
line = line.trim_whitespace();
|
||||
M3UEntry entry {};
|
||||
if (line.starts_with('#') && has_exteded_info_tag) {
|
||||
if (line.starts_with('#') && has_extended_info_tag) {
|
||||
if (line.starts_with("#EXTINF:")) {
|
||||
auto data = line.substring_view(8);
|
||||
auto separator = data.find(',');
|
||||
|
|
Loading…
Reference in a new issue