diff options
Diffstat (limited to 'src/PlaylistEdit.cxx')
-rw-r--r-- | src/PlaylistEdit.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PlaylistEdit.cxx b/src/PlaylistEdit.cxx index 0b513c228..a68c579d1 100644 --- a/src/PlaylistEdit.cxx +++ b/src/PlaylistEdit.cxx @@ -59,7 +59,7 @@ playlist::AppendFile(struct player_control &pc, const char *path_utf8, unsigned *added_id) { Song *song = Song::LoadFile(path_utf8, nullptr); - if (song == NULL) + if (song == nullptr) return PLAYLIST_RESULT_NO_SUCH_SONG; return AppendSong(pc, song, added_id); @@ -247,7 +247,7 @@ playlist::DeleteInternal(player_control &pc, completely */ Stop(pc); - *queued_p = NULL; + *queued_p = nullptr; } else if (current == (int)songOrder) /* there's a "current song" but we're not playing currently - clear "current" */ |