From df315c7b0f85ce245aef3d4ec192e62d20be63cc Mon Sep 17 00:00:00 2001 From: vanhofen Date: Wed, 5 Sep 2012 23:42:10 +0200 Subject: [PATCH] tuxtxt: fix creation of /var/tuxbox/config/tuxtxt/ Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/1e1a3265e6aa5fb40f4fb460f7cab5a1a91f12c9 Author: vanhofen Date: 2012-09-05 (Wed, 05 Sep 2012) Origin message was: ------------------ - tuxtxt: fix creation of /var/tuxbox/config/tuxtxt/ --- lib/libtuxtxt/tuxtxt.cpp | 9 +++++++-- lib/libtuxtxt/tuxtxt.h | 3 ++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/lib/libtuxtxt/tuxtxt.cpp b/lib/libtuxtxt/tuxtxt.cpp index c629daa6a..2a9da1f0a 100644 --- a/lib/libtuxtxt/tuxtxt.cpp +++ b/lib/libtuxtxt/tuxtxt.cpp @@ -18,6 +18,7 @@ #include "driver/framebuffer.h" #include #include +#include /* same as in rcinput.h... */ #define KEY_TTTV KEY_FN_1 @@ -82,7 +83,7 @@ void gethotlist() hotlistchanged = 0; maxhotlist = -1; - sprintf(line, CONFIGDIR "/tuxtxt/hotlist%d.conf", tuxtxt_cache.vtxtpid); + sprintf(line, TUXTXTDIR "/hotlist%d.conf", tuxtxt_cache.vtxtpid); #if TUXTXT_DEBUG printf("TuxTxt