aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormontellese <montellese@xbmc.org>2011-09-28 13:41:48 +0200
committermontellese <montellese@xbmc.org>2011-09-28 13:42:51 +0200
commit8837fe2416e50a204cf9cc6f470654541690a052 (patch)
tree7ce21d3314b8f7496854f68acbc5f01650fde223
parent7b9e61e2f548e7ea89e935cf4481df5be45ae177 (diff)
copy iArtistId and iAlbumId in CMusicInfoTag's assignment operator
-rw-r--r--xbmc/music/tags/MusicInfoTag.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/xbmc/music/tags/MusicInfoTag.cpp b/xbmc/music/tags/MusicInfoTag.cpp
index eec4f39b7a..59a55e603d 100644
--- a/xbmc/music/tags/MusicInfoTag.cpp
+++ b/xbmc/music/tags/MusicInfoTag.cpp
@@ -65,6 +65,8 @@ const CMusicInfoTag& CMusicInfoTag::operator =(const CMusicInfoTag& tag)
m_listeners = tag.m_listeners;
m_iTimesPlayed = tag.m_iTimesPlayed;
m_iDbId = tag.m_iDbId;
+ m_iArtistId = tag.m_iArtistId;
+ m_iAlbumId = tag.m_iAlbumId;
memcpy(&m_dwReleaseDate, &tag.m_dwReleaseDate, sizeof(m_dwReleaseDate) );
return *this;
}