summaryrefslogtreecommitdiff
path: root/Userland/Applications/SoundPlayer
diff options
context:
space:
mode:
authorGunnar Beutner <gbeutner@serenityos.org>2021-07-19 10:28:24 +0200
committerAndreas Kling <kling@serenityos.org>2021-07-19 11:27:58 +0200
commite01cc39eed2b9e9c42a6c687ee538fa47d47ddb0 (patch)
tree9e5b0d9de96742620c980da8d5b36b86f1aea1bb /Userland/Applications/SoundPlayer
parent37543234cee7c35eda4b92ff0a4df40292b3202e (diff)
downloadserenity-e01cc39eed2b9e9c42a6c687ee538fa47d47ddb0.zip
SoundPlayer: Fix a spelling mistake in a variable name
Diffstat (limited to 'Userland/Applications/SoundPlayer')
-rw-r--r--Userland/Applications/SoundPlayer/M3UParser.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Applications/SoundPlayer/M3UParser.cpp b/Userland/Applications/SoundPlayer/M3UParser.cpp
index 96624b2c15..f950b40784 100644
--- a/Userland/Applications/SoundPlayer/M3UParser.cpp
+++ b/Userland/Applications/SoundPlayer/M3UParser.cpp
@@ -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(',');