fix and use ICONSDIR variable; move ICONSSDIR_VAR to global.h

Origin commit data
------------------
Branch: ni/coolstream
Commit: 89a11de651
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-05-06 (Wed, 06 May 2015)

Origin message was:
------------------
- fix and use ICONSDIR variable; move ICONSSDIR_VAR to global.h

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2015-05-06 10:36:56 +02:00
parent c095a9cbd5
commit e33323d5ba
10 changed files with 28 additions and 30 deletions

View File

@@ -188,7 +188,7 @@ bool CScreenSaver::ReadDir()
str += "/";
str += (*dirpointer).d_name;
if ((string) dir_name == DATADIR "/neutrino/icons")
if ((string) dir_name == ICONSDIR)
{
/*
backward compatiblity: