summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Neumann <fnu@yavdr.org>2017-06-02 12:46:31 +0200
committerFrank Neumann <fnu@yavdr.org>2017-06-02 12:46:31 +0200
commit1e10270655dcca66af1cdd5f143787d63a7af961 (patch)
tree36cadd670b39a49b92d5a6d6a36d7206ee7dd6e9
parent9518efd31c611a8d804c609093ada98ccc34e125 (diff)
downloadvdr-plugin-text2skin-1e10270655dcca66af1cdd5f143787d63a7af961.tar.gz
vdr-plugin-text2skin-1e10270655dcca66af1cdd5f143787d63a7af961.tar.bz2
Correct typo from "try fix deprecated readdir_r".
-rw-r--r--loader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loader.c b/loader.c
index 73f970b..91566cb 100644
--- a/loader.c
+++ b/loader.c
@@ -16,7 +16,7 @@ void cText2SkinLoader::Start(void) {
struct dirent *result;
d = opendir(SkinPath().c_str());
if (d) {
- while ((result = readdir(p)) != NULL) {
+ while ((result = readdir(d)) != NULL) {
struct stat buf;
if (strcmp(result->d_name, ".") == 0 || strcmp(result->d_name, "..") == 0)
continue;