mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
neutrino: fix file locations. use the predetermined CONFIGDIR instead of hardcoding paths.
This commit is contained in:
@@ -1569,7 +1569,7 @@ void CFrameBuffer::Clear()
|
||||
//never used
|
||||
void CFrameBuffer::showFrame(const std::string & filename)
|
||||
{
|
||||
std::string varpath = "/var/tuxbox/config/neutrino/icons/";
|
||||
std::string varpath = CONFIGDIR "/neutrino/icons/";
|
||||
if(!access((varpath + filename).c_str(), F_OK))
|
||||
videoDecoder->ShowPicture((varpath + filename).c_str());
|
||||
else
|
||||
|
Reference in New Issue
Block a user