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

Origin commit data
------------------
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
This commit is contained in:
vanhofen
2015-05-06 10:36:56 +02:00
parent 8e23a560fd
commit 3429bd79b2
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: