Skip to content

Commit

Permalink
move media to ressource folder to avoid a skin dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
AchimTuran committed Jun 24, 2017
1 parent 8276029 commit 3841efe
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/addon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ CFreeSurroundAddon::CFreeSurroundAddon()

strncpy(m_ModeInfoStruct.strModeName, "Free Surround", sizeof(m_ModeInfoStruct.strModeName) - 1);
imagePath = kodi::GetAddonPath();
imagePath += "/resources/skins/Confluence/media/adsp-freesurround.png";
imagePath += "/resources/media/adsp-freesurround.png";
strncpy(m_ModeInfoStruct.strOwnModeImage, imagePath.c_str(), sizeof(m_ModeInfoStruct.strOwnModeImage) - 1);
memset(m_ModeInfoStruct.strOverrideModeImage, 0, sizeof(m_ModeInfoStruct.strOwnModeImage)); // unused
RegisterMode(&m_ModeInfoStruct);
Expand Down

0 comments on commit 3841efe

Please sign in to comment.